Commit Graph

115 Commits

Author SHA1 Message Date
Pokechu22
4a809ccf00 Add wrappers for GX_PeekARGB/Z and GX_PokeARGB/Z to CGX
Currently these are direct wrappers, but we may need to replace them with something more complicated in the future (and this also avoids directly calling GX functions in tests, since not all GX functions are state-free (though these are)).
2022-04-22 17:46:10 -07:00
Pokechu22
fc456d62c3 Create EFBCopyParams 2022-04-22 17:46:10 -07:00
Pokechu22
2967cdcbe1 Merge pull request #46 from Pokechu22/misc-cleanup
Misc cleanup
2022-04-19 17:06:18 -07:00
Pokechu22
af5a13c8e4 Add function to report overall number of passed tests 2022-04-16 22:55:06 -07:00
Pokechu22
3e6b1b17ef Update BPMemory.h to Dolphin's version
Note that there are some small differences:
- TextureFormat, TLUTFormat, and EFBCopyFormat are normally in a different header, but I've put them here instead
- I've added a function to set the copy format to UPE_Copy
- I've removed the use of Common/Inline.h
- I've removed non-implemented functions and the actual BP memory struct
- I've made the enum of various registers have a base type of u32 (which allows bitshifting with it without warnings)
2022-04-16 22:54:31 -07:00
Pokechu22
624a8f4f87 Convert DO_TEST to fmt
This required adding Dolphin's FormatUtil.h so that I could find things that still needed to be converted.
2022-04-16 22:54:31 -07:00
Pokechu22
9b7be93420 Allow using bitfield's copy-assignment operator 2022-04-16 22:54:31 -07:00
Pokechu22
a354e1efa4 Sync Dolphin's BitField
Note that this change does not compile on its own, as hwtests requires the default copy-assignment operator for unions to be copied properly.  (The file has also been slightly modified to remove references to Common/Inline.h.)
2022-04-16 22:54:31 -07:00
Pokechu22
0460574377 cputest/mtspr: fix line endings 2022-04-16 22:54:31 -07:00
Pokechu22
56dea96523 Add dependency on fmt 2022-04-16 22:54:31 -07:00
Pokechu22
5a5217e095 Mark __CGXFinishInterruptHandler's parameters as unused
This resolves some warnings.
2022-04-16 22:54:31 -07:00
Pokechu22
ec7e2166b2 CMakeLists: Specify C++17
WriteMtxPS4x2 has been removed since register is no longer a keyword.  It wasn't used in any case.  I've also enabled additional warnings (though I haven't fixed any of them).
2022-02-23 13:02:33 -08:00
Pokechu22
205f245112 Fix ReadTestBuffer if width was already divisible by 4 2022-02-23 13:02:33 -08:00
Pokechu22
066715a6d6 Improve network_printf
privDoTest (and thus DO_TEST) now is marked as using printf formatting, so gcc will complain if the format string is wrong.  I also added a fake call to OSReport which will show up in Dolphin's console.
2022-02-23 12:59:47 -08:00
Pokechu22
3733ddc550 Adjust run.sh 2022-02-23 11:44:01 -08:00
Tilka
328faf95ce Merge pull request #39 from JosJuice/cr
Add CR test
2021-06-06 02:06:36 +01:00
JosJuice
ca9d7b1ce2 Add CR test 2021-06-04 11:41:41 +02:00
Mai M
92d3755865 Merge pull request #38 from JosJuice/ni
Add test of FPCSR's NI bit
2021-05-26 18:19:56 -04:00
JosJuice
efa5288e86 Add test of FPCSR's NI bit 2021-05-26 13:30:39 +02:00
Léo Lam
e020b78600 Merge pull request #37 from JosJuice/windows-paths
CMake: Handle paths with backslashes
2021-05-25 17:40:45 +02:00
JosJuice
47037b29e7 CMake: Handle paths with backslashes 2021-05-25 17:35:02 +02:00
Mai M
fd1d6d28d8 Merge pull request #36 from leoetlino/build-fix
common: Fix build by modernizing CommonTypes and add size_t
2021-05-23 15:24:40 -04:00
Léo Lam
d71df85bad common: Add size_t to CommonTypes
It's convenient not to have to explicitly qualify std::size_t,
and some of our tests use size_t :)
2021-02-12 13:41:54 +01:00
Léo Lam
f379f4956d common: Modernize CommonTypes 2021-02-12 13:39:35 +01:00
Pierre Bourdon
cd8fa385cf Merge pull request #35 from leoetlino/more-timing-tests
Add FS timing tests
2018-04-08 11:48:02 +02:00
Léo Lam
a7ee9ceb5d Add FS timing tests 2018-04-08 11:38:46 +02:00
Léo Lam
c6cd6c1ebe IOS: DRY for result printing 2018-03-28 21:09:07 +02:00
Léo Lam
3fbedf1255 ipc: Add Seek
Whoops, somehow left out the seek command.
2018-03-28 21:09:07 +02:00
Pierre Bourdon
e2d0d2985a Merge pull request #34 from leoetlino/timing
Add IOS IPC timing tests
2018-03-09 21:03:17 +01:00
Léo Lam
0893c9286f Add IOS timing tests 2018-03-09 19:01:33 +01:00
Léo Lam
829661d413 common: Add function to read timebase 2018-02-27 17:02:03 +01:00
Pierre Bourdon
de74fec0a3 Merge pull request #33 from leoetlino/master
Misc cleanup
2018-02-27 16:53:53 +01:00
Léo Lam
16768201d0 build: Enable colors in compiler messages 2018-02-26 19:22:53 +01:00
Léo Lam
e4e94685bf build: Set required C++ version more cleanly 2018-02-26 19:22:53 +01:00
Léo Lam
83d29e2381 build: Build in release mode
For things like timing tests, it's a better idea to build with
optimisations enabled.
2018-02-26 19:22:53 +01:00
Léo Lam
6cd83ca763 build: Use ninja for building
ninja is smarter about figuring out which files have changed and
avoiding unnecessary rebuilds.
2018-02-26 17:31:29 +01:00
Léo Lam
c83ad0a40b build: Clean up add_hwtest and get rid of global 2018-02-26 17:28:25 +01:00
Léo Lam
dfba6d08e2 Reformat all code using clang-format 2018-02-25 19:28:38 +01:00
Léo Lam
0172e0f191 Import clang-format from Dolphin 2018-02-25 19:28:38 +01:00
Léo Lam
3207cd73c0 Use includes relative to the root
IMO, this makes it clearer which module each included file comes from.
2018-02-25 18:48:22 +01:00
Pierre Bourdon
6de9126cdc Merge pull request #32 from leoetlino/master
Add format attribute to network_printf
2018-02-25 18:30:28 +01:00
Léo Lam
363f867b86 Add format attribute to network_printf 2018-02-25 17:18:35 +01:00
Pierre Bourdon
fc095da71b Merge pull request #29 from Armada651/patch-1
Explain how to connect to the hwtests.
2016-01-07 00:31:47 +01:00
Jules Blok
baab608407 Update Readme.md 2016-01-06 22:44:08 +01:00
Tony Wasserka
721b22ce33 Merge pull request #24 from lioncash/typo
Readme: Fix a typo regarding environment variables
2014-12-28 14:56:38 +01:00
Lioncash
16e4e3bb45 Readme: Fix a typo regarding environment variables 2014-12-23 23:48:13 -05:00
Tony Wasserka
5f0b805597 Merge pull request #22 from Tilka/run_target
Fix run targets
2014-12-08 16:53:37 +01:00
Tillmann Karras
3907287dc0 Fix run targets 2014-12-08 01:31:24 +01:00
shuffle2
a851c62fd1 Merge pull request #20 from kayru/mingw_fix
Fixed MinGW build issues and added .elf extension to build targets
2014-11-01 15:18:04 -07:00
Yuriy O'Donnell
0cf30c9bca Added .elf extension to build targets
This is required for Dolphin to recognize and run them.
2014-10-30 00:20:40 +01:00