Tests that are (notrun||skip) -> !(notrun||skip) should be marked as
enabled, and the converse should be marked as disabled

Signed-off-by: Dylan Baker <[email protected]>
---
 framework/tests/summary_tests.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/framework/tests/summary_tests.py b/framework/tests/summary_tests.py
index e6d996e..d6856a9 100644
--- a/framework/tests/summary_tests.py
+++ b/framework/tests/summary_tests.py
@@ -44,6 +44,10 @@ def test_summary_add_to_set():
                                ('pass', 'warn', 'regressions'),
                                ('dmesg-fail', 'warn', 'changes'),
                                ('dmesg-warn', 'crash', 'problems'),
+                               ('notrun', 'pass', 'enabled'),
+                               ('skip', 'dmesg-warn', 'enabled'),
+                               ('fail', 'notrun', 'disabled'),
+                               ('crash', 'skip', 'disabled'),
                                ('skip', 'skip', 'skipped')]:
         check_sets.description = "{0} -> {1} should be added to {2}".format(
                 ostat, nstat, set_)
-- 
1.9.0

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to