diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-05-27 23:41:58 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-05-27 23:41:58 -0400 |
commit | 0c0665caa9e95527d7c5ca4385c2486d5df29418 (patch) | |
tree | bd22856d43ae64850444abd62e3f7ebfe8cbf77f | |
parent | 25ee6081a633c0637f4bcba4f50fa9c9eec49a57 (diff) | |
download | dm-0c0665caa9e95527d7c5ca4385c2486d5df29418.tar.gz |
Test runner return non-zero on failure
-rw-r--r-- | source/app.d | 2 | ||||
-rw-r--r-- | source/merge.d | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source/app.d b/source/app.d index 7dcabf4..5ddc383 100644 --- a/source/app.d +++ b/source/app.d @@ -141,8 +141,6 @@ int main(string[] args) { if (failures) { writefln("%d of %d integration tests failed!", failures, pkgs.length); - } else { - writefln("All integration tests passed!"); } } diff --git a/source/merge.d b/source/merge.d index ae148a2..fcdd351 100644 --- a/source/merge.d +++ b/source/merge.d @@ -202,7 +202,7 @@ auto integration_test(ref Conda conda, string outdir, test_runner_t runner, test pytest_xunit2(testconf); } - if (conda.sh(runner.program ~ " " ~ runner.args ~ " --basetemp=" ~ basetemp) > 1) { + if (conda.sh(runner.program ~ " " ~ runner.args ~ " --basetemp=" ~ basetemp)) { return 1; } return 0; |