diff options
Diffstat (limited to 'contrib/netbsd-tests/share/mk/t_test.sh')
-rwxr-xr-x | contrib/netbsd-tests/share/mk/t_test.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/share/mk/t_test.sh b/contrib/netbsd-tests/share/mk/t_test.sh index c8bb1f3..08681d8 100755 --- a/contrib/netbsd-tests/share/mk/t_test.sh +++ b/contrib/netbsd-tests/share/mk/t_test.sh @@ -34,6 +34,10 @@ # The second argument is the name of the test program, without an extension. # The corresponding source file must exist in the current directory. one_test() { + + if [ ! -e /usr/bin/gcc -a -e /usr/bin/clang ]; then + export HAVE_LLVM=yes + fi local lang="${1}"; shift local name="${1}"; shift |