diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-12-15 00:41:47 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-15 00:41:47 +0000 |
| commit | 1542d735d99caf54a21b6094bd74e1c0c0c08613 (patch) | |
| tree | 6789d89a5b23e3482a3a7913ccd1c3242001f104 | |
| parent | ca7c690d3b51f44ccb1ec1bb1c01bd74610b3f8e (diff) | |
| download | bcm5719-llvm-1542d735d99caf54a21b6094bd74e1c0c0c08613.tar.gz bcm5719-llvm-1542d735d99caf54a21b6094bd74e1c0c0c08613.zip | |
NNT: Make sure stderr for build commands goes to log file, as intended but misdirected.
llvm-svn: 91379
| -rwxr-xr-x | llvm/utils/NewNightlyTest.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/NewNightlyTest.pl b/llvm/utils/NewNightlyTest.pl index 51f90184eb3..a3063824f8f 100755 --- a/llvm/utils/NewNightlyTest.pl +++ b/llvm/utils/NewNightlyTest.pl @@ -317,9 +317,9 @@ sub RunLoggedCommand { } else { if ($VERBOSE) { print "$Title\n"; - print "$Command 2>&1 > $Log\n"; + print "$Command > $Log 2>&1\n"; } - system "$Command 2>&1 > $Log"; + system "$Command > $Log 2>&1"; } } @@ -336,9 +336,9 @@ sub RunAppendingLoggedCommand { } else { if ($VERBOSE) { print "$Title\n"; - print "$Command 2>&1 > $Log\n"; + print "$Command >> $Log 2>&1\n"; } - system "$Command 2>&1 >> $Log"; + system "$Command >> $Log 2>&1"; } } |

