hardly | b1e7e14 | 2014-08-06 00:43:51 +0300 | [diff] [blame] | 1 | #include "common.h"
|
| 2 |
|
onqtam | ec75700 | 2016-05-06 01:56:21 +0300 | [diff] [blame] | 3 | TEST_CASE("executable") {
|
hardly | b1e7e14 | 2014-08-06 00:43:51 +0300 | [diff] [blame] | 4 | printf("I am a test from the executable!\n");
|
| 5 | }
|
| 6 |
|
| 7 | int main(int argc, char** argv) {
|
| 8 | doctest::Context context(argc, argv);
|
onqtam | b91b68e | 2016-05-04 20:16:19 +0300 | [diff] [blame] | 9 | int res = context.run();
|
hardly | b1e7e14 | 2014-08-06 00:43:51 +0300 | [diff] [blame] | 10 |
|
| 11 | res += call_tests_from_dll(argc, argv);
|
| 12 |
|
| 13 | return res;
|
| 14 | }
|