nitunit: just process test_suite when given
[nit.git] / src / nitunit.nit
index c9aa8ae..7c68cd4 100644 (file)
@@ -92,7 +92,8 @@ end
 
 for m in mmodules do
        page.add modelbuilder.test_markdown(m)
-       page.add modelbuilder.test_unit(m)
+       var ts = modelbuilder.test_unit(m)
+       if ts != null then page.add ts
 end
 
 var file = toolcontext.opt_output.value