summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-04 21:10:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-05 03:24:44 +0200
commit78ca913d82a0c30e978b69a8ed2685d92ae9eb36 (patch)
treee9045d4a58d067cc3fccbb3c4f98b234cdeaf5b2
parent34ebdd1ef3c7dd5883db899f2496882c5826ceea (diff)
reorder tests by execution speed
-rw-r--r--test/app.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/app.cpp b/test/app.cpp
index a7662d3d..cc190d03 100644
--- a/test/app.cpp
+++ b/test/app.cpp
@@ -44,24 +44,25 @@ int test_app::exec()
StringView name;
void(*function)();
} list[] = {
+ // fast
+ FM_TEST(test_magnum_math),
+ FM_TEST(test_math),
FM_TEST(test_astar_pool),
- FM_TEST(test_bitmask),
FM_TEST(test_coords),
+ FM_TEST(test_iptr),
FM_TEST(test_entity),
FM_TEST(test_hash),
- FM_TEST(test_iptr),
+ // normal
+ FM_TEST(test_zzz_misc),
+ FM_TEST(test_bitmask),
FM_TEST(test_json),
FM_TEST(test_json2),
FM_TEST(test_json3),
FM_TEST(test_loader),
- FM_TEST(test_magnum_math),
- FM_TEST(test_math),
FM_TEST(test_raycast),
FM_TEST(test_region),
- FM_TEST(test_tile_iter),
FM_TEST(test_wall_atlas),
FM_TEST(test_wall_atlas2),
- FM_TEST(test_zzz_misc),
// the rest are slow
FM_TEST(test_astar),
FM_TEST(test_critter),