summaryrefslogtreecommitdiff
path: root/testsuite/tests/dynlibs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-11 13:48:59 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-11 13:48:59 +0000
commit240da00652d50fcd10f3062629cb561b04d19646 (patch)
tree0b063a86e0c41a642478a4a16adf5b5f88508988 /testsuite/tests/dynlibs
parent3d94d01a9e6618e4ad82b1ad6386b0620538683d (diff)
downloadhaskell-240da00652d50fcd10f3062629cb561b04d19646.tar.gz
Replace 'if_os' and 'unless_os' with 'opsys'
The name 'os' clashes with a python library
Diffstat (limited to 'testsuite/tests/dynlibs')
-rw-r--r--testsuite/tests/dynlibs/all.T4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/dynlibs/all.T b/testsuite/tests/dynlibs/all.T
index 2877c50e19..6a9dfd9655 100644
--- a/testsuite/tests/dynlibs/all.T
+++ b/testsuite/tests/dynlibs/all.T
@@ -7,7 +7,7 @@ test('T3807',
'T3807-export.o', 'T3807-load.o',
'T3807test.so',
'T3807-load']),
- if_os('mingw32', skip)],
+ when(opsys('mingw32'), skip)],
run_command,
['$MAKE --no-print-directory -s T3807'])
@@ -16,7 +16,7 @@ test('T4464',
extra_clean(['T4464B.o', 'T4464C.o', 'T4464H.hi', 'T4464H.o',
'T4464H_stub.c', 'T4464H_stub.h', 'T4464H_stub.o',
'HS4464.dll', 'HS4464.dll.a', 't4464.exe']),
- unless_os('mingw32', skip)],
+ unless(opsys('mingw32'), skip)],
run_command,
['$MAKE --no-print-directory -s T4464'])