diff options
-rw-r--r-- | tests/intel-ci/meta.testlist | 1 | ||||
-rw-r--r-- | tests/meta_test.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/intel-ci/meta.testlist b/tests/intel-ci/meta.testlist index b3e29235..2ec3db58 100644 --- a/tests/intel-ci/meta.testlist +++ b/tests/intel-ci/meta.testlist @@ -1,4 +1,5 @@ igt@meta_test@pass-result +igt@meta_test@warn igt@meta_test@fail-result igt@meta_test@dmesg-pass igt@meta_test@dmesg-warn diff --git a/tests/meta_test.c b/tests/meta_test.c index c02cf8bc..a67b4c5e 100644 --- a/tests/meta_test.c +++ b/tests/meta_test.c @@ -128,6 +128,12 @@ igt_main igt_subtest("pass-result") test_result(true); + igt_subtest("warn") { + igt_warn("This is a test that should fail with a warning\n"); + + test_result(true); + } + igt_subtest("fail-result") test_result(false); |