mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Fix a "Bad fd number" error on some platforms due to a less portable
redirection in the system call. Patch by Andy Gibbs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b42729b53a
commit
581a739226
@ -49,7 +49,7 @@ if (!$my_debugger) {
|
||||
my $debugger_options = "-q -batch -n -x";
|
||||
|
||||
# run debugger and capture output.
|
||||
system("$my_debugger $debugger_options $debugger_script_file $executable_file >& $output_file");
|
||||
system("$my_debugger $debugger_options $debugger_script_file $executable_file > $output_file 2>&1");
|
||||
|
||||
# validate output.
|
||||
system("FileCheck", "-input-file", "$output_file", "$testcase_file");
|
||||
|
Loading…
x
Reference in New Issue
Block a user