summaryrefslogtreecommitdiff
path: root/testsuite/driver/testlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r--testsuite/driver/testlib.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 942a7222ec..7fcdaefe8e 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -387,17 +387,8 @@ def _namebase( opts, nb ):
# ---
-def if_tag( tag, f ):
- if tag in config.compiler_tags:
- return f
- else:
- return normal
-
-def unless_tag( tag, f ):
- if not (tag in config.compiler_tags):
- return f
- else:
- return normal
+def tag( t ):
+ return t in config.compiler_tags
# ---
def high_memory_usage(name, opts):