diff options
author | Niklas Claesson <nicke.claesson@gmail.com> | 2018-04-04 16:44:18 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-05-23 23:30:07 +0300 |
commit | ecbeae565b1597f91f37513c258c077b1f54ad21 (patch) | |
tree | 5fa4c2ef6139f075dad83d3c4225507e58978b13 | |
parent | 8d040fad6e65b02438faec9be67e1cbec264889d (diff) | |
download | meson-ecbeae565b1597f91f37513c258c077b1f54ad21.zip meson-ecbeae565b1597f91f37513c258c077b1f54ad21.tar.gz meson-ecbeae565b1597f91f37513c258c077b1f54ad21.tar.bz2 |
Enable running tests that fail at 'meson test'
-rwxr-xr-x | run_project_tests.py | 2 | ||||
-rw-r--r-- | test cases/failing test/1 trivial/main.c | 3 | ||||
-rw-r--r-- | test cases/failing test/1 trivial/meson.build | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 3c51624..3801432 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -505,7 +505,7 @@ def detect_tests_to_run(): ('common', 'common', False), ('failing-meson', 'failing', False), ('failing-build', 'failing build', False), - ('failing-tests', 'failing tests', False), + ('failing-test', 'failing test', False), ('platform-osx', 'osx', not mesonlib.is_osx()), ('platform-windows', 'windows', not mesonlib.is_windows() and not mesonlib.is_cygwin()), diff --git a/test cases/failing test/1 trivial/main.c b/test cases/failing test/1 trivial/main.c new file mode 100644 index 0000000..3e70e50 --- /dev/null +++ b/test cases/failing test/1 trivial/main.c @@ -0,0 +1,3 @@ +int main(void) { + return 1; +} diff --git a/test cases/failing test/1 trivial/meson.build b/test cases/failing test/1 trivial/meson.build new file mode 100644 index 0000000..ed5a3d2 --- /dev/null +++ b/test cases/failing test/1 trivial/meson.build @@ -0,0 +1,3 @@ +project('trivial', 'c') + +test('My Test', executable('main', 'main.c')) |