Cc: Marta Löfstedt <marta.lofstedt@xxxxxxxxx> Cc: Petri Latvala <petri.latvala@xxxxxxxxx> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> --- tests/intel-ci/meta.testlist | 1 + tests/meta_test.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/tests/intel-ci/meta.testlist b/tests/intel-ci/meta.testlist index b3e29235fac6..2ec3db58a409 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 c02cf8bc069f..a67b4c5e113f 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); -- 2.11.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx