Unverified Commit cc9daa29 authored by Fernbach Pierre's avatar Fernbach Pierre Committed by GitHub
Browse files

Merge pull request #21 from nim65s/devel

fix hardcoded path, fix https://gepgitlab.laas.fr/loco-3d/curves/issues/22
parents 2cca9eab a1ed4698
......@@ -3,3 +3,4 @@ ADD_UNIT_TEST(
)
PKG_CONFIG_USE_DEPENDENCY(curves_tests eigen3)
TARGET_LINK_LIBRARIES(curves_tests ${Boost_LIBRARIES})
TARGET_COMPILE_DEFINITIONS(curves_tests PRIVATE -DTEST_DATA_PATH="${CMAKE_CURRENT_SOURCE_DIR}/data/")
......@@ -2304,10 +2304,8 @@ void BezierLinearProblemInitInequalities(bool& error) {
}
}
static const std::string path = "../../tests/data/";
void BezierLinearProblemsetupLoadProblem(bool& /*error*/) {
problem_definition_t pDef = loadproblem(path + "test.pb");
problem_definition_t pDef = loadproblem(TEST_DATA_PATH "test.pb");
// problem_data_t pData = setup_control_points<point_t, 3, double>(pDef);
generate_problem<point3_t, double, true>(pDef, VELOCITY);
// initInequalityMatrix<point_t,3,double>(pDef,pData,prob);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment