aboutsummaryrefslogtreecommitdiff
path: root/src/headless/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless/main.cpp')
-rw-r--r--src/headless/main.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/headless/main.cpp b/src/headless/main.cpp
index 011c465..04728b6 100644
--- a/src/headless/main.cpp
+++ b/src/headless/main.cpp
@@ -52,8 +52,12 @@ static bool headless_load(Dataloader::path_vector_t const& roots) {
ret = false;
}
- Testing testing { game_manager };
- std::cout << "\nTesting loaded\n" << std::endl;
+
+ Testing testing = Testing(&game_manager);
+ std::cout << std::endl << "Testing Loaded" << std::endl << std::endl;
+ testing.execute_all_scripts();
+ testing.report_results();
+ std::cout << "Testing Executed" << std::endl << std::endl;
return ret;
}