Commit a1ed4698 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix hardcoded path, fix #22

parent 2cca9eab
Pipeline #7640 failed with stage
in 6 minutes and 23 seconds
......@@ -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);
......
Markdown is supported
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