The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
344 B
16 lines
344 B
7 years ago
|
#include <assert.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int meson_test_side_effect = EXIT_FAILURE;
|
||
|
|
||
|
int meson_test_set_side_effect(void) {
|
||
|
meson_test_side_effect = EXIT_SUCCESS;
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
int main(void) {
|
||
|
// meson_test_side_effect is set only if assert is executed
|
||
|
assert(meson_test_set_side_effect());
|
||
|
return meson_test_side_effect;
|
||
|
}
|