projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Separate dumps by state: enable/disable Success and Failed tests
[anna.git]
/
example
/
diameter
/
launcher
/
testing
/
TestCase.cpp
diff --git
a/example/diameter/launcher/testing/TestCase.cpp
b/example/diameter/launcher/testing/TestCase.cpp
index
2817248
..
d69a61a
100644
(file)
--- a/
example/diameter/launcher/testing/TestCase.cpp
+++ b/
example/diameter/launcher/testing/TestCase.cpp
@@
-132,7
+132,8
@@
void TestCase::setState(const State::_v &state) throw() {
if (isFinished()) {
if (isFinished()) {
- if (!testManager.getDumpReports()) return;
+ if ((getState() == State::Failed) && (!testManager.getDumpFailedReports())) return;
+ if ((getState() == State::Success) && (!testManager.getDumpSuccessfulReports())) return;
// report file name: cycle-<cycle id>.testcase-<test case id>.xml
// FORMAT: We tabulate the cycle and test case in order to ease ordering of files by mean ls:
// report file name: cycle-<cycle id>.testcase-<test case id>.xml
// FORMAT: We tabulate the cycle and test case in order to ease ordering of files by mean ls: