summaryrefslogtreecommitdiff
path: root/test/Feature
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-07-23 15:23:35 +0000
committerDuncan Sands <baldrick@free.fr>2007-07-23 15:23:35 +0000
commit6c7ada4c58c40cc11adc0dbd3d57496eca0b4d2c (patch)
treee651cd411e0304b8fdbbbe779b4648d00b8aba7b /test/Feature
parent1b4b25696bd74249503d2eb34ca17b2d3815796a (diff)
downloadllvm-6c7ada4c58c40cc11adc0dbd3d57496eca0b4d2c.tar.gz
llvm-6c7ada4c58c40cc11adc0dbd3d57496eca0b4d2c.tar.bz2
llvm-6c7ada4c58c40cc11adc0dbd3d57496eca0b4d2c.tar.xz
The Ada f-e produces various auxiliary output files
that cannot be suppressed and cannot be redirected: they are dumped in the current working directory. When running the testsuite this means that these files do not end up in the Output directory. The best solution I could find is to change directory into Output before running tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/float.ll6
-rw-r--r--test/Feature/inlineasm.ll6
-rw-r--r--test/Feature/llvm2cpp.ll2
3 files changed, 7 insertions, 7 deletions
diff --git a/test/Feature/float.ll b/test/Feature/float.ll
index 5a53c2c0a3..c1532eb0b3 100644
--- a/test/Feature/float.ll
+++ b/test/Feature/float.ll
@@ -1,6 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > Output/t1.ll
-; RUN: llvm-as Output/t1.ll -o - | llvm-dis > Output/t2.ll
-; RUN: diff Output/t1.ll Output/t2.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > t1.ll
+; RUN: llvm-as t1.ll -o - | llvm-dis > t2.ll
+; RUN: diff t1.ll t2.ll
%F1 = global float 0x4010000000000000
%D1 = global double 0x4010000000000000
diff --git a/test/Feature/inlineasm.ll b/test/Feature/inlineasm.ll
index c8f59f24cf..fdb4657c67 100644
--- a/test/Feature/inlineasm.ll
+++ b/test/Feature/inlineasm.ll
@@ -1,7 +1,7 @@
; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > Output/t1.ll
-; RUN: llvm-as Output/t1.ll -o - | llvm-dis > Output/t2.ll
-; RUN: diff Output/t1.ll Output/t2.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > t1.ll
+; RUN: llvm-as t1.ll -o - | llvm-dis > t2.ll
+; RUN: diff t1.ll t2.ll
module asm "this is an inline asm block"
diff --git a/test/Feature/llvm2cpp.ll b/test/Feature/llvm2cpp.ll
index 4cfb66d240..88cfa34380 100644
--- a/test/Feature/llvm2cpp.ll
+++ b/test/Feature/llvm2cpp.ll
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llvm-dis > %t1.ll
; RUN: llvm-as < %s | llvm2cpp -gen-program -o %t2.cpp - -f
; RUN: %link -o %t2.exe %t2.cpp -lLLVMCore -lLLVMSupport -lLLVMSystem -lstdc++
-; RUN: %t2.exe > %t2.ll
+; RUN: ./%t2.exe > %t2.ll
; RUN: diff %t1.ll %t2.ll
@X = global i32 4, align 16 ; <i32*> [#uses=0]