Skip to content

Commit 64368e6

Browse files
authored
Merge pull request #63 from sofa-framework/fix_empty_tests
Do not throw an error if no test is performed
2 parents 5c0b8ec + 1018136 commit 64368e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Regression_test/Regression_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ void TopologyRegression_test::runTestImpl(RegressionSceneData data, sofa::simula
199199

200200

201201

202-
203-
202+
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(StateRegression_test);
204203

205204
/// Create one instance of StateRegression_test per scene in stateRegressionSceneList.m_scenes list
206205
/// Note: if N differents TEST_P(StateRegression_test, test_N) are created this will create M x N gtest. M being the number of values in the list.
@@ -215,6 +214,7 @@ TEST_P(StateRegression_test, sceneTest)
215214
runTest(GetParam());
216215
}
217216

217+
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(TopologyRegression_test);
218218

219219
//// Create one instance or TopologyRegression_test per scene in topologyRegressionSceneList.m_scenes
220220
INSTANTIATE_TEST_SUITE_P(Regression_test,

0 commit comments

Comments
 (0)