]> git.stg.codes - stg.git/blob - tests/main.cpp
Add dependancy on module for install-bin targets
[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 int main()
16 {
17     tut::reporter reporter;
18     tut::runner.get().set_callback(&reporter);
19
20     tut::runner.get().run_tests();
21
22     return !reporter.all_ok();
23 }