summaryrefslogtreecommitdiffstats
path: root/src/tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-09-15Tests: Remove glad test OS X work-aroundYuri Kunde Schlesner2-16/+0
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi3-18/+19
2018-09-08common: Implement a ring bufferMerryMage2-0/+131
2018-08-29kernel: Eliminate kernel global stateLioncash2-1/+3
As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
2018-08-08externals: Update catch to 2.3.0Lioncash4-4/+4
Updates the library from 2.2.3 to 2.3.0
2018-08-03core/memory: Get rid of 3DS leftoversLioncash2-57/+0
Removes leftover code from citra that isn't needed.
2018-07-20arm_test_common: Get rid of truncation warningsLioncash1-2/+5
Explicitly cast the value to a u8 to show that this is intentional.
2018-07-20arm_test_common: Make file static variable a member variable of the testing environmentLioncash2-2/+5
Gets rid of file-static behavior.
2018-07-20arm_test_common: Add missing header guardLioncash1-0/+2
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2-39/+0
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-03-14core: Move process creation out of global state.bunnei2-6/+6
2018-03-02Kernel: Store the program id in the Process class instead of the CodeSet class.Subv2-5/+5
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
2018-01-27memory: Replace all memory hooking with Special regionsMerryMage2-25/+29
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+3
2018-01-18CMakeLists: Derive the source directory grouping from targets themselvesLioncash1-15/+11
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
2018-01-13Fix build on macOS and linuxMerryMage1-1/+1
2018-01-09CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n302-0/+238
* CoreTiming: New CoreTiming; Add Test for CoreTiming
2018-01-03arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei3-13507/+0
2017-10-15hle: Initial implementation of NX service framework and IPC.bunnei2-217/+0
2017-09-30nso: Refactor and allocate .bss section.bunnei1-2/+2
2017-09-30Moved down_count to CoreTimingHuw Pascoe1-1/+1
2017-09-27Tests: Added Memory::IsValidVirtualAddress tests.Subv2-0/+57
2017-09-27Tests: Fixed ARM VFP testsSubv1-9/+13
2017-09-24memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage1-1/+1
Don't expose Memory::current_page_table as a global.
2017-09-15Tests/VFP: Use a standalone pagetable for the TestEnvironment memory operations.Subv1-4/+14
This fixes building the tests
2017-07-23tests: Add tests for vaddMerryMage5-2/+13510
2017-07-23tests: Arm testing frameworkMerryMage3-0/+208
2017-06-22Kernel: Fix typo in test nameYuri Kunde Schlesner1-1/+1
2017-06-21Kernel/IPC: Support translation of null handlesYuri Kunde Schlesner1-0/+23
Missed this in my first implementation. Thanks to @wwylele for pointing out that this was missing.
2017-06-19Kernel/IPC: Add tests for HLERequestContext buffer translationYuri Kunde Schlesner2-2/+196
2017-05-28CMake: Create an INTERFACE target for CatchYuri Kunde Schlesner1-4/+2
2017-05-28CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner1-2/+3
Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary.
2017-03-01Common: add ParamPackagewwylele2-0/+26
2016-12-07tests: add missing libcore dependency after 75ee2f8c6702Jan Beich1-1/+1
$ (cmake -DENABLE_SDL2:BOOL=false /path/to/citra; gmake) [...] [ 85%] Linking CXX executable tests ../common/libcommon.a(microprofile.cpp.o): In function `MicroProfileThreadStart(pthread**, void* (*)(void*))': src/common/microprofile.cpp:(.text+0x41): undefined reference to `pthread_create' c++: error: linker command failed with exit code 1 (use -v to see invocation)
2016-11-19tests: add a work-around for macOS linking errorwwylele2-0/+15
2016-11-19FileSys: add PathParserwwylele2-0/+39
2016-05-19Tests: Run tests on CIMerryMage1-0/+2
2016-05-19tests: Infrastructure for unit testsMerryMage2-0/+23