summaryrefslogtreecommitdiff
path: root/tools/slang-test/test-reporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/slang-test/test-reporter.cpp')
-rw-r--r--tools/slang-test/test-reporter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/slang-test/test-reporter.cpp b/tools/slang-test/test-reporter.cpp
index 9dd34739b..fd9748b28 100644
--- a/tools/slang-test/test-reporter.cpp
+++ b/tools/slang-test/test-reporter.cpp
@@ -286,6 +286,11 @@ static void _appendTime(double timeInSec, StringBuilder& out)
void TestReporter::_addResult(const TestInfo& info)
{
+ if (info.testResult == TestResult::Ignored && m_hideIgnored)
+ {
+ return;
+ }
+
m_totalTestCount++;
switch (info.testResult)