diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-04-20 13:34:05 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-04-21 03:01:04 +0300 |
commit | dc2044c56d51c36a88f5a23b7275c4eabd0e88aa (patch) | |
tree | 0c0398b019d2a751a2bb8a2ccb2f11bbbc69852a /test cases/failing test | |
parent | 79e925b8f6473bd76ea2348e69707e3919a52220 (diff) | |
download | meson-dc2044c56d51c36a88f5a23b7275c4eabd0e88aa.zip meson-dc2044c56d51c36a88f5a23b7275c4eabd0e88aa.tar.gz meson-dc2044c56d51c36a88f5a23b7275c4eabd0e88aa.tar.bz2 |
Report xpass results as failures.
Diffstat (limited to 'test cases/failing test')
-rw-r--r-- | test cases/failing test/6 xpass/meson.build | 4 | ||||
-rw-r--r-- | test cases/failing test/6 xpass/xpass.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test cases/failing test/6 xpass/meson.build b/test cases/failing test/6 xpass/meson.build new file mode 100644 index 0000000..7649dde --- /dev/null +++ b/test cases/failing test/6 xpass/meson.build @@ -0,0 +1,4 @@ +project('unexpected pass', 'c') + +test('should_fail_but_does_not', executable('xpass', 'xpass.c'), + should_fail: true) diff --git a/test cases/failing test/6 xpass/xpass.c b/test cases/failing test/6 xpass/xpass.c new file mode 100644 index 0000000..0314ff1 --- /dev/null +++ b/test cases/failing test/6 xpass/xpass.c @@ -0,0 +1 @@ +int main(int argc, char **argv) { return 0; } |