summaryrefslogtreecommitdiff
path: root/tests/glean/tmultitest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glean/tmultitest.cpp')
-rw-r--r--tests/glean/tmultitest.cpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/tests/glean/tmultitest.cpp b/tests/glean/tmultitest.cpp
index 42cac0389..c98d7ec31 100644
--- a/tests/glean/tmultitest.cpp
+++ b/tests/glean/tmultitest.cpp
@@ -71,11 +71,19 @@ MultiTest::runOne(MultiTestResult &r, Window &)
void
MultiTest::logOne(MultiTestResult &r)
{
- logPassFail(r);
- logConcise(r);
- env->log << "\t"
- << r.numPassed << " tests passed, "
- << r.numFailed << " tests failed.\n";
+ if (r.numPassed == 0 && r.numFailed == 0) {
+ // non-applicable test
+ env->log << name << ": NOTE ";
+ logConcise(r);
+ env->log << "\tTest skipped/non-applicable\n";
+ }
+ else {
+ logPassFail(r);
+ logConcise(r);
+ env->log << "\t"
+ << r.numPassed << " tests passed, "
+ << r.numFailed << " tests failed.\n";
+ }
}