diff options
-rw-r--r-- | lld/test/elf/X86_64/startGroupEndGroup.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lld/test/elf/X86_64/startGroupEndGroup.test b/lld/test/elf/X86_64/startGroupEndGroup.test index a3a2658f28d..95d32d96547 100644 --- a/lld/test/elf/X86_64/startGroupEndGroup.test +++ b/lld/test/elf/X86_64/startGroupEndGroup.test @@ -19,17 +19,17 @@ RUN: --whole-archive %p/Inputs/group/libfn.a --no-whole-archive %p/Inputs/group/ # Test alias options too, as they are more widely used # Test group -RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o -\( \ -RUN: %p/Inputs/group/libfn.a %p/Inputs/group/libfn1.a -\) -o %t1.alias +RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o '-(' \ +RUN: %p/Inputs/group/libfn.a %p/Inputs/group/libfn1.a '-)' -o %t1.alias # Mix object files in group -RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o -\( \ +RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o '-(' \ RUN: %p/Inputs/group/fn.o %p/Inputs/group/fn2.o \ -RUN: %p/Inputs/group/fn1.o -\) -o %t2.alias +RUN: %p/Inputs/group/fn1.o '-)' -o %t2.alias # Mix Whole archive input, the group should not iterate the file libfn.a -RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o -\( \ -RUN: --whole-archive %p/Inputs/group/libfn.a --no-whole-archive %p/Inputs/group/libfn1.a -\) -o %t3.alias +RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o '-(' \ +RUN: --whole-archive %p/Inputs/group/libfn.a --no-whole-archive %p/Inputs/group/libfn1.a '-)' -o %t3.alias RUN: llvm-nm %t1 | FileCheck -check-prefix=RESOLVEDEXTERNAL %s RUN: llvm-nm %t2 | FileCheck -check-prefix=RESOLVEDEXTERNAL %s |