]> git.stg.codes - stg.git/blob - tests/main.cpp
Replace fake disconnects with real and fix some errors
[stg.git] / tests / main.cpp
1 #include <iostream>
2
3 #include "tut/tut.hpp"
4 #include "tut_reporter.h"
5
6 using std::exception;
7 using std::cerr;
8 using std::endl;
9
10 namespace tut
11 {
12     test_runner_singleton runner;
13 }
14
15 volatile time_t stgTime = 0;
16
17 int main()
18 {
19     tut::reporter reporter;
20     tut::runner.get().set_callback(&reporter);
21
22     tut::runner.get().run_tests();
23
24     return !reporter.all_ok();
25 }