Contains all the options that can be set for a test, through the Test and TestSuite macros, or other means.
Definition at line 78 of file types.h.
int criterion_test_extra_data::signal |
The expected signal to be raised by the test.
If the test does not raise the specified signal, then the test is marked as failed.
A value of 0 means that is it not expected for the test to raise any signal.
Definition at line 123 of file types.h.
double criterion_test_extra_data::timeout |
The timeout for the test, in seconds.
If the realtime execution of a test takes longer than the specified value, then the test is immediately aborted and reported as timing out.
A value of 0
is equivalent to +INFINITY
and means that the test does not timeout.
It is unspecified behaviour for the value of timeout
to be negative or NaN
.
Definition at line 162 of file types.h.