[test][ORC-RT] Disable x86_64 tests when target arch does not match
authorBen Langmuir <blangmuir@apple.com>
Thu, 21 Oct 2021 17:01:23 +0000 (10:01 -0700)
committerBen Langmuir <blangmuir@apple.com>
Thu, 21 Oct 2021 17:01:23 +0000 (10:01 -0700)
When cross-compiling, these tests will fail. For now leave the host arch
check that was already there since I don't know why it was added.

compiler-rt/test/orc/TestCases/Darwin/x86-64/lit.local.cfg.py
compiler-rt/test/orc/TestCases/FreeBSD/x86-64/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Linux/x86-64/lit.local.cfg.py

index 1b14fb6..c6eb0ac 100644 (file)
@@ -1,2 +1,5 @@
 if config.root.host_arch != 'x86_64':
   config.unsupported = True
+
+if config.target_arch != 'x86_64':
+  config.unsupported = True
\ No newline at end of file
index e42e830..117b77e 100644 (file)
@@ -1,2 +1,5 @@
 if config.root.host_arch not in ['x86_64', 'amd64']:
   config.unsupported = True
+
+if config.target_arch not in ['x86_64', 'amd64']:
+  config.unsupported = True
\ No newline at end of file
index 1b14fb6..f5b50ef 100644 (file)
@@ -1,2 +1,5 @@
 if config.root.host_arch != 'x86_64':
   config.unsupported = True
+
+if config.target_arch != 'x86_64':
+  config.unsupported = True