Skip to content

Commit

Permalink
Merge pull request #63 from sofa-framework/fix_empty_tests
Browse files Browse the repository at this point in the history
Do not throw an error if no test is performed
  • Loading branch information
bakpaul authored Mar 22, 2024
2 parents 5c0b8ec + 1018136 commit 64368e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Regression_test/Regression_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ void TopologyRegression_test::runTestImpl(RegressionSceneData data, sofa::simula





GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(StateRegression_test);

/// Create one instance of StateRegression_test per scene in stateRegressionSceneList.m_scenes list
/// 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.
Expand All @@ -215,6 +214,7 @@ TEST_P(StateRegression_test, sceneTest)
runTest(GetParam());
}

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(TopologyRegression_test);

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

0 comments on commit 64368e6

Please sign in to comment.