diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-26 11:39:21 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-26 11:39:21 +0100 |
commit | b00ebe6baee22bd79e3aeca38a3390a25fbc5e14 (patch) | |
tree | f5208d32d2a9f8a5a16255ee6de9a062ebad633a /tests/stratum-overlap-warns.script | |
parent | c2587cf3aac2e9c734e040de86f07e950042c112 (diff) | |
download | morph-b00ebe6baee22bd79e3aeca38a3390a25fbc5e14.tar.gz |
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.
Diffstat (limited to 'tests/stratum-overlap-warns.script')
-rwxr-xr-x | tests/stratum-overlap-warns.script | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |