Commit Graph

15 Commits

Author SHA1 Message Date
Martin Griffin
76f02774ea Detect memory leaks in tests
Can use KNOWN_LEAKING; to specify that a test is known to leak memory.

The location information is available in regular game builds. Thus it is
available for use in debugging leaks in-game too. In the future we
should consider replacing it with NULL if NDEBUG is defined. This is not
currently possible because the tests do not force NDEBUG to be
undefined.
2023-04-20 20:35:22 +01:00
Eduardo Quezada
32b2c01619 Merge branch 'RHH/upcoming' into RHH/pr/fix/GassyTerrain
# Conflicts:
#	test/test.h
2023-03-26 16:06:04 -03:00
Eduardo Quezada D'Ottone
c922ff69b9 Added To-Do test results 2023-03-23 22:34:08 -03:00
Martin Griffin
509ff4c7e0 Generic TEST that executes a function 2023-03-15 13:28:46 +00:00
Eduardo Quezada D'Ottone
dd686ee606
More detailed hydra test results (#2722) 2023-03-08 10:11:11 -03:00
Eduardo Quezada
24d8d3fbee Updated switch format 2023-03-08 09:09:48 -03:00
Eduardo Quezada
eb49e28e6c Renamed TEST_RESULT_SKIP to TEST_RESULT_ASSUMPTION_FAIL 2023-03-08 08:26:33 -03:00
Eduardo Quezada
5808e82434 Added assumption fail total, made fails into their own counter and changed "SKIP" to "ASSUMPTION_FAIIL" in log 2023-02-22 15:05:39 -03:00
Jaizu
403a6f4544
Merge pull request #2712 from DizzyEggg/fix_abilities_empty_field
Fix switch-in abilities activating on an empty field
2023-02-22 09:49:13 +01:00
Eduardo Quezada
54e388a375 More detailed hydra test results 2023-02-22 00:30:12 -03:00
Martin Griffin
f3c6b647c0
Hydra fixes and improvements (#2718)
* Build tools for check

* Display PASSes when Hydra exits

* Print buffered output at exit

* Remove unused test summaries

* Show SKIP if ASSUMPTIONS fails
2023-02-21 16:30:42 +01:00
DizzyEggg
7d23d5433b try fix tests failing 2023-02-20 16:38:37 +01:00
DizzyEggg
03915524c5 Fix switch-in abilities activating on empty field 2023-02-20 12:42:06 +01:00
sbird
0d78b29902 [test, output] display KNOWN_FAILING in yellow 2023-02-16 15:31:28 +01:00
Martin Griffin
f1b9872bf0 Test moves, items, and abilities in battle
Thank you to SBird for providing mgba-rom-test binaries and Spikes/Toxic
Spikes tests!

Co-authored-by: sbird <sbird@no.tld>
2023-02-01 13:53:57 +00:00