[llvm-commits] CVS: llvm-java/test/Makefile.test

Alkis Evlogimenos alkis at cs.uiuc.edu
Sun Dec 5 15:04:11 PST 2004



Changes in directory llvm-java/test:

Makefile.test updated: 1.24 -> 1.25
---
Log message:

Capture both stdout and stderr.


---
Diffs of the changes:  (+3 -4)

Index: llvm-java/test/Makefile.test
diff -u llvm-java/test/Makefile.test:1.24 llvm-java/test/Makefile.test:1.25
--- llvm-java/test/Makefile.test:1.24	Sun Dec  5 15:52:42 2004
+++ llvm-java/test/Makefile.test	Sun Dec  5 17:04:01 2004
@@ -62,13 +62,12 @@
 
 # rule to run a .class file with the jvm
 %.out-nat: %.class
-	$(Echo) Running $(notdir $*) with the host JVM
-	-$(Verb)LD_LIBRARY_PATH=$(LibDir) $(JAVA) -cp Output $(notdir $*) > $*.out-nat || rm -f $*.out-nat
+	-$(Verb)LD_LIBRARY_PATH=$(LibDir) $(JAVA) -cp Output $(notdir $*) \
+		> $*.out-nat 2>&1
 
 # rule to run a .class file with the llvm jit
 %.out-jit: %.llvm.bc
-	$(Echo) Running $(notdir $*) with the llvm JIT
-	-$(Verb)$(LLI) $< > $*.out-jit
+	-$(Verb)$(LLI) $< > $*.out-jit 2>&1
 
 # rule to diff test output
 %.diff: %.out-nat %.out-jit






More information about the llvm-commits mailing list