[PATCH] D37689: [ELF] Fix flaky test

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 08:57:22 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL312922: [ELF] Fix issue with test when build path contains '@' (authored by jhenderson).

Changed prior to commit:
  https://reviews.llvm.org/D37689?vs=114620&id=114623#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37689

Files:
  lld/trunk/test/ELF/linkerscript/include-cycle.s


Index: lld/trunk/test/ELF/linkerscript/include-cycle.s
===================================================================
--- lld/trunk/test/ELF/linkerscript/include-cycle.s
+++ lld/trunk/test/ELF/linkerscript/include-cycle.s
@@ -1,11 +1,11 @@
 # REQUIRES: x86
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
 
-# RUN: echo INCLUDE %t1.script > %t1.script
+# RUN: echo "INCLUDE \"%t1.script\"" > %t1.script
 # RUN: not ld.lld %t.o %t1.script 2>&1 | FileCheck %s
 
-# RUN: echo INCLUDE %t2.script > %t1.script
-# RUN: echo INCLUDE %t1.script > %t2.script
+# RUN: echo "INCLUDE \"%t2.script\"" > %t1.script
+# RUN: echo "INCLUDE \"%t1.script\"" > %t2.script
 # RUN: not ld.lld %t.o %t1.script 2>&1 | FileCheck %s
 
 # CHECK: there is a cycle in linker script INCLUDEs


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37689.114623.patch
Type: text/x-patch
Size: 789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170911/b9b923d8/attachment.bin>


More information about the llvm-commits mailing list