[m-rev.] for review: improve test framework
Simon Taylor
stayl at cs.mu.OZ.AU
Sun Aug 18 00:54:04 AEST 2002
On 16-Aug-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
Estimated hours taken: 0.1
Branches: main
tools/test_mercury:
Fix a bug in my last change -- the test failure summary
should go in the logs directory, not the tests directory.
Index: test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.184
diff -u -u -r1.184 test_mercury
--- test_mercury 17 Aug 2002 13:52:35 -0000 1.184
+++ test_mercury 17 Aug 2002 14:51:43 -0000
@@ -854,8 +854,9 @@
# esac
case "$C_COMPILER" in
- gcc) test_error_file="test-$BRANCH-$HOST.test_errs" ;;
- *) test_error_file="test-$BRANCH-$HOST-$C_COMPILER.test_errs" ;;
+ gcc) test_error_file="$TEST_DIR/logs/test-$BRANCH-$HOST.test_errs" ;;
+ *) test_error_file=\
+ "$TEST_DIR/logs/test-$BRANCH-$HOST-$C_COMPILER.test_errs" ;;
esac
rm -f $test_error_file
for grade in $GRADES
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list