[Git][NTPsec/ntpsec][master] Make sure to fail on test failures

Matt Selsky gitlab at mg.gitlab.com
Tue Apr 11 05:22:22 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
b298cca8 by Matt Selsky at 2017-04-11T01:21:07-04:00
Make sure to fail on test failures

Print a list of working/failed tests as well

Fixes GitLab issue #258

- - - - -


1 changed file:

- wscript


Changes:

=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -232,6 +232,7 @@ def build(ctx):
 
         # Print a summary at the end
         ctx.add_post_fun(waf_unit_test.summary)
+        ctx.add_post_fun(waf_unit_test.set_exit_code)
     else:
         pprint("YELLOW", "Unit test runner skipped on a cross-compiled build.")
         from waflib import Options



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b298cca81dff03f7d4105a615ca14697cee95dc3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170411/bf979922/attachment.html>


More information about the vc mailing list