use class decorators to mark tests that shouldn't be run by default
diff --git a/src/python/oftest/testutils.py b/src/python/oftest/testutils.py
index 8ee212b..5a3232c 100644
--- a/src/python/oftest/testutils.py
+++ b/src/python/oftest/testutils.py
@@ -1027,3 +1027,19 @@
finally:
sys.stdout = backup
return out
+
+def nonstandard(cls):
+ """
+ Testcase decorator that marks the test as being non-standard,
+ so it is not added to the "all" group.
+ """
+ cls.priority = -1
+ return cls
+
+def disabled(cls):
+ """
+ Testcase decorator that marks the test as being disabled,
+ so it is not added to the "all" group.
+ """
+ cls.priority = -1
+ return cls