summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/2006-11-30-Pubnames.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 22:37:04 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 22:37:04 +0000
commitb964f00d6a4b556ca67a4f455303224889dbe3db (patch)
tree3c769a42b3e060e29eae9f8ac9ebb651ef893e50 /llvm/test/DebugInfo/2006-11-30-Pubnames.cpp
parent1c75ef2ce202f7a13e2dcde4e317ebe3c40f64bd (diff)
downloadbcm5719-llvm-b964f00d6a4b556ca67a4f455303224889dbe3db.tar.gz
bcm5719-llvm-b964f00d6a4b556ca67a4f455303224889dbe3db.zip
For PR1319: Upgrade to new test harness.
llvm-svn: 36092
Diffstat (limited to 'llvm/test/DebugInfo/2006-11-30-Pubnames.cpp')
-rw-r--r--llvm/test/DebugInfo/2006-11-30-Pubnames.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/test/DebugInfo/2006-11-30-Pubnames.cpp b/llvm/test/DebugInfo/2006-11-30-Pubnames.cpp
index 4b9376e0a84..698f30bc052 100644
--- a/llvm/test/DebugInfo/2006-11-30-Pubnames.cpp
+++ b/llvm/test/DebugInfo/2006-11-30-Pubnames.cpp
@@ -1,10 +1,11 @@
// This is a regression test on debug info to make sure that we can access
// qualified global names.
-// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | llc --disable-fp-elim -o Output/Pubnames.s -f
-// RUN: as Output/Pubnames.s -o Output/Pubnames.o
-// RUN: g++ Output/Pubnames.o -o Output/Pubnames.exe
-// RUN: ( echo "break main"; echo "run" ; echo "p Pubnames::pubname" ) > Output/Pubnames.gdbin
-// RUN: gdb -q -batch -n -x Output/Pubnames.gdbin Output/Pubnames.exe | tee Output/Pubnames.out | grep '10'
+// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
+// RUN: llc --disable-fp-elim -o %t.s -f
+// RUN: as %t.s -o %t.o
+// RUN: %link %t.o -o %t.exe
+// RUN: echo {break main\nrun\np Pubnames::pubname} > %t.in
+// RUN: gdb -q -batch -n -x %t.in %t.exe | tee %t.out | grep {\$1 = 10}
// XFAIL: alpha|ia64|arm
struct Pubnames {
OpenPOWER on IntegriCloud