Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Test/TestMain.cpp
diff options
context:
space:
mode:
authorPhil Nash2011-01-14 08:47:43 +0000
committerPhil Nash2011-01-14 08:47:43 +0000
commit684baf105378fc5a90cbebd9e5c7e8898989983e (patch)
tree8532de1f9ee4ce3dbe7e4caffe67a4c47b4d7c4d /Test/TestMain.cpp
parentf36d7773437830ff8178d0491166a29b62b156ea (diff)
downloadcatch3-684baf105378fc5a90cbebd9e5c7e8898989983e.tar.gz
Don't run tests starting with ./ by default. Changed all low-level self tests to be in ./
Diffstat (limited to 'Test/TestMain.cpp')
-rw-r--r--Test/TestMain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Test/TestMain.cpp b/Test/TestMain.cpp
index 7ca6ce6b..910aa094 100644
--- a/Test/TestMain.cpp
+++ b/Test/TestMain.cpp
@@ -19,13 +19,13 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
{
EmbeddedRunner runner;
- runner.runMatching( "succeeding/*" );
+ runner.runMatching( "./succeeding/*" );
CHECK( runner.getReporter().getSucceeded() == 53 );
CHECK( runner.getReporter().getFailed() == 0 );
}
{
EmbeddedRunner runner;
- runner.runMatching( "failing/*" );
+ runner.runMatching( "./failing/*" );
CHECK( runner.getReporter().getSucceeded() == 0 );
CHECK( runner.getReporter().getFailed() == 53 );
@@ -42,7 +42,7 @@ TEST_CASE( "selftest/succeeding", "Runs all Catch self tests that should succeed
SelfTestConfig config;
{
Runner runner( config );
- runner.runMatching( "succeeding/*" );
+ runner.runMatching( "./succeeding/*" );
}
CHECK( config.getReporter().getSucceeded() == 53 );
@@ -60,7 +60,7 @@ TEST_CASE( "selftest/failing", "Runs all Catch self tests that should fail and c
SelfTestConfig config;
{
Runner runner( config );
- runner.runMatching( "failing/*" );
+ runner.runMatching( "./failing/*" );
}
CHECK( config.getReporter().getSucceeded() == 0 );