diff: debugger test cases: redirect stderr
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Dec 18 00:35:42 AEDT 1998
Estimated hours taken: 0.25
tests/debugger/Mmakefile:
When creating the `.out' files, redirect stderr as well as stdout,
since debugger error messages now go to stderr rather than stdout.
Index: tests/debugger/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/Mmakefile,v
retrieving revision 1.14
diff -u -r1.14 Mmakefile
--- Mmakefile 1998/12/16 17:28:23 1.14
+++ Mmakefile 1998/12/17 13:30:32
@@ -50,30 +50,34 @@
#-----------------------------------------------------------------------------#
debugger_regs.out: debugger_regs debugger_regs.inp
- $(MDB) ./debugger_regs < debugger_regs.inp > debugger_regs.out
+ $(MDB) ./debugger_regs < debugger_regs.inp > debugger_regs.out 2>&1
existential_type_classes.out: existential_type_classes \
existential_type_classes.inp
- $(MDB) ./existential_type_classes < existential_type_classes.inp > existential_type_classes.out
+ $(MDB) ./existential_type_classes < existential_type_classes.inp \
+ > existential_type_classes.out 2>&1
implied_instance.out: implied_instance implied_instance.inp
- $(MDB) ./implied_instance < implied_instance.inp > implied_instance.out
+ $(MDB) ./implied_instance < implied_instance.inp \
+ > implied_instance.out 2>&1
interpreter.out: interpreter interpreter.inp
- $(MDB) ./interpreter interpreter.m < interpreter.inp > interpreter.out
+ $(MDB) ./interpreter interpreter.m < interpreter.inp \
+ > interpreter.out 2>&1
multi_parameter.out: multi_parameter multi_parameter.inp
- $(MDB) ./multi_parameter < multi_parameter.inp > multi_parameter.out
+ $(MDB) ./multi_parameter < multi_parameter.inp \
+ > multi_parameter.out 2>&1
queens.out: queens queens.inp
- $(MDB) ./queens < queens.inp > queens.out
+ $(MDB) ./queens < queens.inp > queens.out 2>&1
# We ignore the result of this action because
# the exit status of grep is not useful in this case
mdb_command_test.out: queens mdb_command_test.inp
-$(MDB) ./queens < mdb_command_test.inp \
| egrep "internal error in the trace help system" \
- > mdb_command_test.out
+ > mdb_command_test.out 2>&1
#-----------------------------------------------------------------------------#
--
Fergus Henderson <fjh at cs.mu.oz.au> | "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh> | but source code lives forever"
PGP: finger fjh at 128.250.37.3 | -- leaked Microsoft memo.
More information about the developers
mailing list