Skip to content

Commit 1e6621a

Browse files
committed
Use the correct C-SVM in the executable tests.
1 parent 0cabd97 commit 1e6621a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ add_test(NAME MainScale/executable_save_scaling_factors
273273
)
274274

275275
# add minimal run test for the classification task
276-
add_test(NAME MainTrainClassification/executable_minimal COMMAND ${PLSSVM_EXECUTABLE_TRAIN_NAME} "${PLSSVM_CLASSIFICATION_TEST_FILE}"
276+
add_test(NAME MainTrainClassification/executable_minimal COMMAND ${PLSSVM_EXECUTABLE_TRAIN_NAME} -s 0 "${PLSSVM_CLASSIFICATION_TEST_FILE}"
277277
"${CMAKE_CURRENT_BINARY_DIR}/test_classification.libsvm.model"
278278
)
279279
add_test(NAME MainPredictClassification/executable_minimal
@@ -282,7 +282,7 @@ add_test(NAME MainPredictClassification/executable_minimal
282282
"${CMAKE_CURRENT_BINARY_DIR}/test_classification.libsvm.predict" # predict file (result)
283283
)
284284
# add minimal run test for the regression task
285-
add_test(NAME MainTrainRegression/executable_minimal COMMAND ${PLSSVM_EXECUTABLE_TRAIN_NAME} "${PLSSVM_REGRESSION_TEST_FILE}"
285+
add_test(NAME MainTrainRegression/executable_minimal COMMAND ${PLSSVM_EXECUTABLE_TRAIN_NAME} -s 1 "${PLSSVM_REGRESSION_TEST_FILE}"
286286
"${CMAKE_CURRENT_BINARY_DIR}/test_regression.libsvm.model"
287287
)
288288
add_test(NAME MainPredictRegression/executable_minimal

0 commit comments

Comments
 (0)