summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/driver/testlib.py3
-rw-r--r--testsuite/tests/codeGen/should_compile/all.T2
-rwxr-xr-x[-rw-r--r--]testsuite/tests/linters/regex-linters/check-makefiles.py0
3 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 0f1f6d4538..7ee179b837 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -607,6 +607,9 @@ def have_vanilla( ) -> bool:
def have_ncg( ) -> bool:
return config.have_ncg
+def have_llvm( ) -> bool:
+ return config.have_llvm
+
def have_dynamic( ) -> bool:
''' Were libraries built in the dynamic way? '''
return config.have_dynamic
diff --git a/testsuite/tests/codeGen/should_compile/all.T b/testsuite/tests/codeGen/should_compile/all.T
index 3c76163582..9985580e78 100644
--- a/testsuite/tests/codeGen/should_compile/all.T
+++ b/testsuite/tests/codeGen/should_compile/all.T
@@ -55,7 +55,7 @@ test('T15155',
[ unless(have_ncg(), skip)
], makefile_test, [])
-test('T15155l', when(unregisterised(), skip),
+test('T15155l', [ when(unregisterised(), skip), unless(have_llvm(), skip)],
makefile_test, [])
test('T16449_1', normal, compile, [''])
diff --git a/testsuite/tests/linters/regex-linters/check-makefiles.py b/testsuite/tests/linters/regex-linters/check-makefiles.py
index 5a8286c6a7..5a8286c6a7 100644..100755
--- a/testsuite/tests/linters/regex-linters/check-makefiles.py
+++ b/testsuite/tests/linters/regex-linters/check-makefiles.py