sovereignx/test
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
..
ability_blaze.c Test Overgrow, Swarm and Torrent 2023-02-21 10:43:57 +00:00
ability_cloud_nine.c [test] add some ability tests 2023-02-09 23:25:25 +01:00
ability_compound_eyes.c fix compound eyes ohko test 2023-03-24 16:37:52 +01:00
ability_contrary.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
ability_cute_charm.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
ability_damp.c Fix Explosion + Galvanize + Volt Absorb and Mind Blown (#2688) 2023-02-21 22:50:29 +00:00
ability_download.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
ability_drizzle.c [test] add some ability tests 2023-02-09 23:25:25 +01:00
ability_flame_body.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
ability_immunity.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
ability_insomnia.c Removed trailing whitespaces 2023-02-26 18:43:15 -03:00
ability_intimidate.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
ability_limber.c [test] add some ability tests 2023-02-09 23:25:25 +01:00
ability_magic_bounce.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
ability_oblivious.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
ability_overgrow.c Test Overgrow, Swarm and Torrent 2023-02-21 10:43:57 +00:00
ability_pastel_veil.c Tests work with new pokemon disabled 2023-03-09 09:49:50 +01:00
ability_poison_point.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
ability_sand_veil.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
ability_speed_boost.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
ability_static.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
ability_stench.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
ability_sturdy.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
ability_swarm.c Test Overgrow, Swarm and Torrent 2023-02-21 10:43:57 +00:00
ability_torrent.c Test Overgrow, Swarm and Torrent 2023-02-21 10:43:57 +00:00
ability_volt_absorb.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
ability_water_absorb.c Removed trailing whitespaces 2023-02-26 18:43:15 -03:00
hold_effect_eject_button.c Tests for Eject Button (#2843) 2023-03-21 10:41:37 +01:00
hold_effect_leftovers.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
hold_effect_red_card.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
item_effect_increase_stat.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
item_effect_restore_hp.c Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
item_effect_restore_pp.c Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
mega_evolution.c Tests work with new pokemon disabled 2023-03-09 09:49:50 +01:00
move.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_absorb.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_accuracy_down.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
move_effect_after_you.c Fix After You for gen8 (#2646) 2023-02-16 20:59:36 +00:00
move_effect_assist.c test for assist and removed assist array from battle struct 2023-03-08 22:11:28 +01:00
move_effect_attack_down.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_attack_up.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_attack_up_user_ally.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_barb_barrage.c tests for dire claw ceaseless edge barb barrage 2023-03-23 12:29:04 +01:00
move_effect_bide.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_burn_hit.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_defense_down.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_defense_up.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_defog.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_dire_claw.c RandomElement for structured RNG 2023-03-27 18:50:18 +01:00
move_effect_dream_eater.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_encore.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_evasion_up.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
move_effect_explosion.c Fix Explosion + Galvanize + Volt Absorb and Mind Blown (#2688) 2023-02-21 22:50:29 +00:00
move_effect_freeze_hit.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_haze.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_healing_wish.c Update Healing wish to gen5 / gen8 mechanics (#2708) 2023-02-20 11:25:43 +00:00
move_effect_hex.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_hit_escape.c Tests work with new pokemon disabled 2023-03-09 09:49:50 +01:00
move_effect_hit_set_entry_hazardss.c tests for dire claw ceaseless edge barb barrage 2023-03-23 12:29:04 +01:00
move_effect_hit_switch_target.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
move_effect_mind_blown.c Fix Explosion + Galvanize + Volt Absorb and Mind Blown (#2688) 2023-02-21 22:50:29 +00:00
move_effect_paralyze_hit.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_poison_hit.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_rampage.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
move_effect_recoil_if_miss.c Update Healing wish to gen5 / gen8 mechanics (#2708) 2023-02-20 11:25:43 +00:00
move_effect_reflect.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_revival_blessing.c MOVE_REVIVAL_BLESSING Effect (#2883) 2023-04-12 01:14:25 +01:00
move_effect_roar.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
move_effect_shell_trap.c Add MOVE_SHELL_TRAP Effect (#2716) 2023-02-22 13:55:34 +00:00
move_effect_sleep.c Allow tests to override specific RNG calls 2023-03-15 13:39:17 +00:00
move_effect_special_attack_down.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_special_attack_up_3.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_spikes.c tests for dire claw ceaseless edge barb barrage 2023-03-23 12:29:04 +01:00
move_effect_stockpile.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
move_effect_tailwind.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_torment.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_toxic.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_toxic_spikes.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
move_effect_tri_attack.c RandomElement for structured RNG 2023-03-27 18:50:18 +01:00
move_effect_venoshock.c tests for dire claw ceaseless edge barb barrage 2023-03-23 12:29:04 +01:00
powder_moves.c Fix Magic bounce powder moves against grass types (#2633) 2023-02-17 13:55:51 +00:00
random.c RandomElement for structured RNG 2023-03-27 18:50:18 +01:00
status1.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
terrain_electric.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
terrain_grassy.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
terrain_misty.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
terrain_psychic.c Fix battle message strings for stats (#2927) 2023-04-18 22:02:51 +01:00
test.h Detect memory leaks in tests 2023-04-20 20:35:22 +01:00
test_battle.h Detect memory leaks in tests 2023-04-20 20:35:22 +01:00
test_runner.c Detect memory leaks in tests 2023-04-20 20:35:22 +01:00
test_runner_args.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
test_runner_battle.c Detect memory leaks in tests 2023-04-20 20:35:22 +01:00
trainer_control.c initial commit 2023-04-06 20:56:44 +02:00