nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbc3309
)
nitunit: testsuite+diff do not info missing diff if raw_output.is_empty
author
Jean Privat
<jean@pryen.org>
Thu, 2 Jun 2016 23:39:54 +0000
(19:39 -0400)
committer
Jean Privat
<jean@pryen.org>
Fri, 3 Jun 2016 20:04:02 +0000
(16:04 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/testing/testing_suite.nit
patch
|
blob
|
history
diff --git
a/src/testing/testing_suite.nit
b/src/testing/testing_suite.nit
index
309393c
..
0137ef3
100644
(file)
--- a/
src/testing/testing_suite.nit
+++ b/
src/testing/testing_suite.nit
@@
-288,7
+288,7
@@
class TestCase
error = "Difference with expected output: diff -u {sav} {res_name}.out1"
toolcontext.modelbuilder.failed_tests += 1
end
- else
+ else if not raw_output.is_empty then
toolcontext.info("No diff: {sav} not found", 2)
end
end