summaryrefslogtreecommitdiffstats
path: root/test/LoadableModule.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LoadableModule.py')
-rw-r--r--test/LoadableModule.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/LoadableModule.py b/test/LoadableModule.py
index 6109359..b28a565 100644
--- a/test/LoadableModule.py
+++ b/test/LoadableModule.py
@@ -102,11 +102,13 @@ test.run(arguments = '.',
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-if sys.platform.find('darwin') != -1:
- test.run(program='/usr/bin/file',
- arguments = "foo1",
- match = TestCmd.match_re,
- stdout="foo1: Mach-O bundle (ppc|i386)\n")
+# TODO: Add new Intel-based Macs? Why are we only picking on Macs?
+#if sys.platform.find('darwin') != -1:
+# test.run(program='/usr/bin/file',
+# arguments = "foo1",
+# match = TestCmd.match_re,
+# stdout="foo1: Mach-O bundle (ppc|i386)\n")
+# My laptop prints "foo1: Mach-O 64-bit bundle x86_64"
if sys.platform in platforms_with_dlopen:
os.environ['LD_LIBRARY_PATH'] = test.workpath()