[lld] r193905 - Single-quotes to quote parentheses.

Rui Ueyama ruiu at google.com
Fri Nov 1 19:07:37 PDT 2013


Author: ruiu
Date: Fri Nov  1 21:07:37 2013
New Revision: 193905

URL: http://llvm.org/viewvc/llvm-project?rev=193905&view=rev
Log:
Single-quotes to quote parentheses.

On Windows, neither "(" nor ")" are shell special characters, so -\( is passed
as-is to LLD. Because of that this test was failing on Windows.

Modified:
    lld/trunk/test/elf/X86_64/startGroupEndGroup.test

Modified: lld/trunk/test/elf/X86_64/startGroupEndGroup.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/X86_64/startGroupEndGroup.test?rev=193905&r1=193904&r2=193905&view=diff
==============================================================================
--- lld/trunk/test/elf/X86_64/startGroupEndGroup.test (original)
+++ lld/trunk/test/elf/X86_64/startGroupEndGroup.test Fri Nov  1 21:07:37 2013
@@ -19,17 +19,17 @@ RUN: --whole-archive %p/Inputs/group/lib
 
 # 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





More information about the llvm-commits mailing list