summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/thinlto_backend.ll
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-09-10 08:48:33 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-09-10 08:48:33 +0000
commit3d7e9ab7b9f8c53aa41420c54970f0fb421004a2 (patch)
tree414bc05ed871c3771add9185be65125744fa28c0 /clang/test/CodeGen/thinlto_backend.ll
parent93c4d53b0a5751bbaae747879bcdb4a5413b52fb (diff)
downloadbcm5719-llvm-3d7e9ab7b9f8c53aa41420c54970f0fb421004a2.tar.gz
bcm5719-llvm-3d7e9ab7b9f8c53aa41420c54970f0fb421004a2.zip
Revert Remove REQUIRES:shell from tests that pass for me on Windows
This reverts r371478 (git commit a9980f60ce083fa6d5fd03c12c58ca0b293e3d60) llvm-svn: 371497
Diffstat (limited to 'clang/test/CodeGen/thinlto_backend.ll')
-rw-r--r--clang/test/CodeGen/thinlto_backend.ll11
1 files changed, 4 insertions, 7 deletions
diff --git a/clang/test/CodeGen/thinlto_backend.ll b/clang/test/CodeGen/thinlto_backend.ll
index fcfc7ea4665..2dd919d5f7d 100644
--- a/clang/test/CodeGen/thinlto_backend.ll
+++ b/clang/test/CodeGen/thinlto_backend.ll
@@ -1,4 +1,5 @@
-; REQUIRES: x86-registered-target
+; shell required since the windows bot does not like the "(cd ..."
+; REQUIRES: x86-registered-target, shell
; RUN: opt -module-summary -o %t1.o %s
; RUN: opt -module-summary -o %t2.o %S/Inputs/thinlto_backend.ll
@@ -31,14 +32,10 @@
; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc -save-temps=obj
; RUN: llvm-dis %t1.s.3.import.bc -o - | FileCheck --check-prefix=CHECK-IMPORT %s
; RUN: mkdir -p %T/dir1
-; RUN: cd %T/dir1
-; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc -save-temps=cwd
-; RUN: cd ../..
+; RUN: (cd %T/dir1 && %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc -save-temps=cwd)
; RUN: llvm-dis %T/dir1/*1.s.3.import.bc -o - | FileCheck --check-prefix=CHECK-IMPORT %s
; RUN: mkdir -p %T/dir2
-; RUN: cd %T/dir2
-; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc -save-temps
-; RUN: cd ../..
+; RUN: (cd %T/dir2 && %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc -save-temps)
; RUN: llvm-dis %T/dir2/*1.s.3.import.bc -o - | FileCheck --check-prefix=CHECK-IMPORT %s
; CHECK-IMPORT: define available_externally void @f2()
; RUN: llvm-nm %t3.o | FileCheck --check-prefix=CHECK-OBJ %s
OpenPOWER on IntegriCloud