summaryrefslogtreecommitdiff
path: root/src/tests/CMakeLists.txt
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2023-04-29Tests: Add memory tracker tests.Fernando Sahmkow
2023-03-25tests: Implement tests for verifying HashValueMorph
Values were randomly generated and the verification was done against boost 1.79.
2023-01-05tests: update catch2 to 3.0.1Alexandre Bouvier
2023-01-01MacroHLE: Reduce massive calculations on sizing estimation.Fernando Sahmkow
2022-12-19tests: Add ScratchBuffer testsameerj
2022-11-29CMake: Use precompiled headersameerj
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-07-25yuzu: Add ui files for multiplayer roomsFearlessTobi
2022-01-12cmake: make tests optionalAlexandre Bouvier
2021-11-29[input_common] Add completion test for CalibrationConfigurationJobvperus
2021-07-08common: Add unique functionReinUsesLisp
2021-06-11tests: Add tests for host memoryReinUsesLisp
2021-02-28[network] Error handling reformcomex
`network.cpp` has several error paths which either: - report "Unhandled host socket error=n" and return `SUCCESS`, or - switch on a few possible errors, log them, and translate them to Errno; the same switch statement is copied and pasted in multiple places in the code Convert these paths to use a helper function `GetAndLogLastError`, which is roughly the equivalent of one of the switch statements, but: - handling more cases (both ones that were already in `Errno`, and a few more I added), and - using OS functions to convert the error to a string when logging, so it'll describe the error even if it's not one of the ones in the switch statement. - To handle this, refactor the logic in `GetLastErrorMsg` to expose a new function `NativeErrorToString` which takes the error number explicitly as an argument. And improve the Windows version a bit. Also, add a test which exercises two random error paths.
2021-02-18tests: Add tests for CityHashReinUsesLisp
2021-01-16Merge pull request #5262 from ReinUsesLisp/buffer-baseRodrigo Locatti
buffer_cache/buffer_base: Add a range tracking buffer container and tests
2021-01-15common/bit_util: Replace CLZ/CTZ operations with standardized onesLioncash
Makes for less code that we need to maintain.
2021-01-13tests: Add unit tests for the GPU range tracking buffer containerReinUsesLisp
Due to how error prone the container design is, this commit adds unit tests for it. Some tests taken from here are based on bugs from using this buffer container in games, so if we ever break it in the future in a way that might harm games, the tests should fail.
2021-01-01memory: Remove MemoryHookMerryMage
2020-12-06hle: kernel: Separate KScheduler from GlobalSchedulerContext class.bunnei
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
2020-06-18Tests: Add base tests to host timingFernando Sahmkow
2020-06-18Tests: Add tests for fibers and refactor/fix Fiber classFernando Sahmkow
2019-03-27Add MultiLevelQueue TestsFernando Sahmkow
2019-03-27Implement intrinsics CountTrailingZeroes and test it.Fernando Sahmkow
2019-02-06common/bitfield: make it endianness-awareWeiyi Wang
2018-09-15Tests: Remove glad test OS X work-aroundYuri Kunde Schlesner
2018-09-08common: Implement a ring bufferMerryMage
2018-08-03core/memory: Get rid of 3DS leftoversLioncash
Removes leftover code from citra that isn't needed.
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-01-17CMakeLists: Derive the source directory grouping from targets themselvesLioncash
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
2018-01-08CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n30
* CoreTiming: New CoreTiming; Add Test for CoreTiming
2018-01-02arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei
2017-10-14hle: Initial implementation of NX service framework and IPC.bunnei
2017-09-26Tests: Added Memory::IsValidVirtualAddress tests.Subv
2017-07-23tests: Add tests for vaddMerryMage
2017-07-23tests: Arm testing frameworkMerryMage
2017-06-18Kernel/IPC: Add tests for HLERequestContext buffer translationYuri Kunde Schlesner
2017-05-27CMake: Create an INTERFACE target for CatchYuri Kunde Schlesner
2017-05-27CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner
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 ParamPackagewwylele
2016-12-07tests: add missing libcore dependency after 75ee2f8c6702Jan Beich
$ (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 errorwwylele
2016-11-19FileSys: add PathParserwwylele
2016-05-19Tests: Run tests on CIMerryMage
2016-05-19tests: Infrastructure for unit testsMerryMage