[llvm] r324787 - REQUIRES: shell a couple of tests that require the shell

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 16:14:54 PST 2018


Author: dblaikie
Date: Fri Feb  9 16:14:54 2018
New Revision: 324787

URL: http://llvm.org/viewvc/llvm-project?rev=324787&view=rev
Log:
REQUIRES: shell a couple of tests that require the shell

One test uses diff, the other tries to change the PATH which doesn't
seem to work well ('not' is no longer accessible/found after the PATH is
changed - I think $PATH isn't expanded when setting PATH).

Modified:
    llvm/trunk/test/MC/AsmParser/preserve-comments-crlf.s
    llvm/trunk/test/Other/can-execute.txt

Modified: llvm/trunk/test/MC/AsmParser/preserve-comments-crlf.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/preserve-comments-crlf.s?rev=324787&r1=324786&r2=324787&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/preserve-comments-crlf.s (original)
+++ llvm/trunk/test/MC/AsmParser/preserve-comments-crlf.s Fri Feb  9 16:14:54 2018
@@ -1,3 +1,4 @@
+	#REQUIRES: shell
 	#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
 	#RUN: diff --strip-trailing-cr %s %t
 	.text

Modified: llvm/trunk/test/Other/can-execute.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/can-execute.txt?rev=324787&r1=324786&r2=324787&view=diff
==============================================================================
--- llvm/trunk/test/Other/can-execute.txt (original)
+++ llvm/trunk/test/Other/can-execute.txt Fri Feb  9 16:14:54 2018
@@ -1,4 +1,5 @@
 REQUIRES: can-execute
+REQUIRES: shell
 
 This tests that we abstract two peculiarities of unix in can_execute:
 




More information about the llvm-commits mailing list