ref: 9ffa590069497578bfdf079435c6d7df2663faab
parent: 953cde5c9dfcbe36f0c83c74c7fee16720ea25ce
author: Paul Brossier <piem@piem.org>
date: Thu Nov 29 12:19:07 EST 2018
[waf] check tests return code and show summary
--- a/wscript
+++ b/wscript
@@ -517,6 +517,10 @@
doxygen(bld)
sphinx(bld)
+ from waflib.Tools import waf_unit_test
+ bld.add_post_fun(waf_unit_test.summary)
+ bld.add_post_fun(waf_unit_test.set_exit_code)
+
def txt2man(bld):
# build manpages from txt files using txt2man
if bld.env['TXT2MAN']: