aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-06 20:57:31 -0400
committerJack Lloyd <[email protected]>2017-10-06 20:57:31 -0400
commit1b09b194fa94522be56c6f8cce69b6fb166c842c (patch)
treee76d28cd6bb01fad5c73158bd50ea603e5390b83 /src/tests/tests.cpp
parent645b3d14a372fdcbeacb076ba3152f9f8ac4c761 (diff)
Restart state in Text_Based_Test after test is over
This allows --test-runs= to work as expected
Diffstat (limited to 'src/tests/tests.cpp')
-rw-r--r--src/tests/tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp
index eb192a05c..7c4e8a258 100644
--- a/src/tests/tests.cpp
+++ b/src/tests/tests.cpp
@@ -1047,6 +1047,8 @@ std::vector<Test::Result> Text_Based_Test::run()
"run_final_tests exception " + std::string(e.what())));
}
+ m_first = true;
+
return results;
}