summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 22:57:49 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 22:57:49 +0000
commit22f339010c2ef36ecf794b02a5bb5252272d4af0 (patch)
treec902ee3536b0e7c68d5c2545395d76b20f691874 /llvm/test/Feature
parent7697d37777c723a928fc65774e1011aa703bc291 (diff)
downloadbcm5719-llvm-22f339010c2ef36ecf794b02a5bb5252272d4af0.tar.gz
bcm5719-llvm-22f339010c2ef36ecf794b02a5bb5252272d4af0.zip
Use "opt < %s" instead of "opt %s" so that opt doesn't print the test
filename in the output, which interferes with the tests' grep lines. llvm-svn: 81263
Diffstat (limited to 'llvm/test/Feature')
-rw-r--r--llvm/test/Feature/weak_constant.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Feature/weak_constant.ll b/llvm/test/Feature/weak_constant.ll
index fde155175ad..9025aaac797 100644
--- a/llvm/test/Feature/weak_constant.ll
+++ b/llvm/test/Feature/weak_constant.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts -S > %t
+; RUN: opt < %s -std-compile-opts -S > %t
; RUN: grep undef %t | count 1
; RUN: grep 5 %t | count 1
; RUN: grep 7 %t | count 1
OpenPOWER on IntegriCloud