[llvm-commits] [hlvm] r38039 - /hlvm/trunk/test/lib/identity.exp
Reid Spencer
reid at x10sys.com
Sat Jul 7 16:59:12 PDT 2007
Author: reid
Date: Sat Jul 7 18:59:12 2007
New Revision: 38039
URL: http://llvm.org/viewvc/llvm-project?rev=38039&view=rev
Log:
Don't attempt to redirect the output to the same place as the program is putting
its output. The output is gobbled by the exec command.
Modified:
hlvm/trunk/test/lib/identity.exp
Modified: hlvm/trunk/test/lib/identity.exp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/lib/identity.exp?rev=38039&r1=38038&r2=38039&view=diff
==============================================================================
--- hlvm/trunk/test/lib/identity.exp (original)
+++ hlvm/trunk/test/lib/identity.exp Sat Jul 7 18:59:12 2007
@@ -44,7 +44,7 @@
foreach test $files {
set output [file join $outdir ${test}.out]
set testsrc [file join $source $test]
- set retval [ catch {exec $tool $testsrc -o $output >>&$output } ]
+ set retval [ catch {exec $tool $testsrc -o $output } ]
if { $retval == 1 } {
#Get output
set outputFile [open $output {RDONLY}]
More information about the llvm-commits
mailing list