Martin Storsjö
f3b6f0fa45
test: Don't use std::chrono_literals, fix building hello-exception in C++11 mode
...
std::chrono_literals require C++14.
This simplifies building hello-exception on macOS, where current
Apple Clang still default to C++11.
2021-12-03 11:42:11 +02:00
Martin Storsjö
e3866b9df2
test: Fix a symbol collision when building hello-exception on macOS
...
On macOS, the included headers end up including sys/wait.h, which
declares a different symbol "wait".
2021-12-03 11:39:31 +02:00
Martin Storsjö
84462c92b0
test: Add options -noop and -wait to the hello-exception test program
...
This allows easier testing of continuing from manually set
breakpoints.
Also fix compilation for non-windows platforms where __debugbreak()
isn't defined.
2021-05-03 13:08:44 +03:00
Martin Storsjö
bbbdab6e27
test: Add an option for triggering a breakpoint with hello-exception.cpp
2021-04-15 11:37:11 +03:00
Martin Storsjö
f2b389e6a7
test: Change hello-exception.cpp to print to stderr
...
Also flush after each printout, since not all configurations (in
particular, wine) flush stderr implicitly.
This is often useful when debugging unwinding.
2020-10-13 12:24:15 +03:00
Martin Storsjö
42297caad3
test: Add an option to hello-exception.cpp for causing crashes
...
This is useful for testing the debugger.
2020-10-13 12:20:25 +03:00
Martin Storsjö
8a60836d87
test: Remove unnecessary bits of hello-exception.cpp
...
These bits are tested by hello-cpp.cpp.
2020-10-13 12:19:46 +03:00
Martin Storsjö
cacdf723fa
Add ISC licenses to the test programs
2018-03-21 11:09:55 +02:00
Martin Storsjö
d7d80f084a
Rename the hello subdirectory to test
2018-03-20 11:08:32 +02:00