]> git.stg.codes - stg.git/blob - tests/main.cpp
Ticket 37. The timeout variable added, if(stgTime > timeout && timeout
[stg.git] / tests / main.cpp
1 #include "tut/tut.hpp"
2 #include "tut/tut_reporter.hpp"
3
4 namespace tut
5 {
6     test_runner_singleton runner;
7 }
8
9 volatile time_t stgTime = 0;
10
11 int main()
12 {
13     tut::reporter reporter;
14     tut::runner.get().set_callback(&reporter);
15
16     tut::runner.get().run_tests();
17
18     return !reporter.all_ok();
19 }