summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-11 08:46:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-11 13:12:54 +0200
commit2fb9086c6b5da63e382bc9fb5ab7523bf25b69b4 (patch)
tree84a4948a19623e5797f2aeb5b275b2792c80d254 /test
parent44a3a2bfbf5c1ca94f7abcddab86f5873743fdbc (diff)
test: reorder tests based on execution speed
Diffstat (limited to 'test')
-rw-r--r--test/app.cpp29
1 files changed, 15 insertions, 14 deletions
diff --git a/test/app.cpp b/test/app.cpp
index 38269296..a7662d3d 100644
--- a/test/app.cpp
+++ b/test/app.cpp
@@ -44,31 +44,32 @@ int test_app::exec()
StringView name;
void(*function)();
} list[] = {
+ FM_TEST(test_astar_pool),
+ FM_TEST(test_bitmask),
FM_TEST(test_coords),
- FM_TEST(test_tile_iter),
- FM_TEST(test_magnum_math),
- FM_TEST(test_math),
FM_TEST(test_entity),
- FM_TEST(test_iptr),
FM_TEST(test_hash),
- FM_TEST(test_raycast),
+ FM_TEST(test_iptr),
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_json2),
FM_TEST(test_wall_atlas2),
- FM_TEST(test_json3),
- FM_TEST(test_bitmask),
- FM_TEST(test_loader2),
- FM_TEST(test_save),
- FM_TEST(test_loader3),
- FM_TEST(test_astar_pool),
+ FM_TEST(test_zzz_misc),
+ // the rest are slow
FM_TEST(test_astar),
- FM_TEST(test_dijkstra),
FM_TEST(test_critter),
+ FM_TEST(test_dijkstra),
+ FM_TEST(test_loader2),
+ FM_TEST(test_loader3),
+ FM_TEST(test_save),
FM_TEST(test_saves),
- FM_TEST(test_zzz_misc),
};
if (is_log_quiet())