From b00ebe6baee22bd79e3aeca38a3390a25fbc5e14 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 26 Jun 2012 11:39:21 +0100 Subject: Fix test suite to deal with morph output changes Also, some bug fixes. Also, when handling a BaseException, log the exception (with traceback) that we're handling, in case there is an error while handling it, because the second error will otherwise mask the first one. --- tests/stratum-overlap-warns.script | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/stratum-overlap-warns.script') diff --git a/tests/stratum-overlap-warns.script b/tests/stratum-overlap-warns.script index 2e9965fe..ab6c6de6 100755 --- a/tests/stratum-overlap-warns.script +++ b/tests/stratum-overlap-warns.script @@ -29,7 +29,8 @@ warning_mentions(){ } "$SRCDIR/scripts/test-morph" \ - build --log=$log test:morphs-repo overlap overlap-stratum.morph + build --log=$log test:morphs-repo overlap overlap-stratum.morph \ + > /dev/null grep WARNING "$log" >"$warnings" for str in overlap-stratum \ overlap-foo-baz overlap-foobar bin/bar \ -- cgit v1.2.1