From a131bdb77ea24725da9084c9f3cd9715f36e4e6d Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Mon, 12 May 2014 20:51:21 +0000 Subject: [PATCH] Indent continuation lines llvm-svn: 208630 --- lld/test/elf/X86_64/startGroupEndGroup.test | 22 +++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/lld/test/elf/X86_64/startGroupEndGroup.test b/lld/test/elf/X86_64/startGroupEndGroup.test index 95d32d96547b..add3c41deaef 100644 --- a/lld/test/elf/X86_64/startGroupEndGroup.test +++ b/lld/test/elf/X86_64/startGroupEndGroup.test @@ -1,35 +1,37 @@ # This tests functionality of --start-group, --end-group # This link should fail with unresolve symbol -RUN: not lld -flavor gnu -target x86_64 %p/Inputs/group/1.o %p/Inputs/group/libfn.a \ -RUN: %p/Inputs/group/libfn1.a -o x 2> %t.err +RUN: not lld -flavor gnu -target x86_64 %p/Inputs/group/1.o \ +RUN: %p/Inputs/group/libfn.a %p/Inputs/group/libfn1.a -o x 2> %t.err # Test group RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o --start-group \ -RUN: %p/Inputs/group/libfn.a %p/Inputs/group/libfn1.a --end-group -o %t1 +RUN: %p/Inputs/group/libfn.a %p/Inputs/group/libfn1.a --end-group -o %t1 # Mix object files in group RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o --start-group \ -RUN: %p/Inputs/group/fn.o %p/Inputs/group/fn2.o \ -RUN: %p/Inputs/group/fn1.o --end-group -o %t2 +RUN: %p/Inputs/group/fn.o %p/Inputs/group/fn2.o \ +RUN: %p/Inputs/group/fn1.o --end-group -o %t2 # 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 --start-group \ -RUN: --whole-archive %p/Inputs/group/libfn.a --no-whole-archive %p/Inputs/group/libfn1.a --end-group -o %t3 +RUN: --whole-archive %p/Inputs/group/libfn.a --no-whole-archive \ +RUN: %p/Inputs/group/libfn1.a --end-group -o %t3 # 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: %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: %p/Inputs/group/fn.o %p/Inputs/group/fn2.o \ -RUN: %p/Inputs/group/fn1.o '-)' -o %t2.alias +RUN: %p/Inputs/group/fn.o %p/Inputs/group/fn2.o \ +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: --whole-archive %p/Inputs/group/libfn.a --no-whole-archive \ +RUN: %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