summaryrefslogtreecommitdiffstats
path: root/test/src/test-w3c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-w3c.cpp')
-rw-r--r--test/src/test-w3c.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/src/test-w3c.cpp b/test/src/test-w3c.cpp
index 31ab9b9..0ff67df 100644
--- a/test/src/test-w3c.cpp
+++ b/test/src/test-w3c.cpp
@@ -150,11 +150,13 @@ class W3CStatusMonitor : public uscxml::InterpreterMonitor {
if (boost::starts_with(ATTR_CAST(config[0], "id"), "active:{pass")) {
std::cout << "TEST SUCCEEDED" << std::endl;
retCode = EXIT_SUCCESS;
+ return;
}
} else {
if (boost::iequals(ATTR_CAST(config[0], "id"), "pass")) {
std::cout << "TEST SUCCEEDED" << std::endl;
retCode = EXIT_SUCCESS;
+ return;
}
}
}