Commit b1a50044 authored by Serrière Guillaume's avatar Serrière Guillaume
Browse files

Plugin: add coverage for processor box.


Signed-off-by: default avatarSerrière Guillaume <guillaume.serriere@inria.fr>
parent 7f30cc68
......@@ -21,6 +21,7 @@ FOREACH(TEST_NAME ${TEST_SCENARIOS})
ADD_TEST(clean_Classification_${TEST_NAME} rm -f ${OV_LOGFILE} classifiers/multiclass.xml)
ADD_TEST(run_Classification_${TEST_NAME} "$ENV{OV_BINARY_PATH}/openvibe-designer.${EXT}" ${OS_FLAGS} "--no-gui" "--no-session-management" "--config" "$ENV{OV_BINARY_PATH}/share/openvibe/kernel/openvibe_test.conf" "--play-fast" ${SCENARIO_TO_TEST})
ADD_TEST(compare_Classification_${TEST_NAME} "$ENV{OV_BINARY_PATH}/test_accuracy.${EXT}" "${OS_FLAGS}" "${OV_LOGFILE}")
ADD_TEST(run_Classification_${TEST_NAME}_ProcessorBox "$ENV{OV_BINARY_PATH}/openvibe-designer.${EXT}" ${OS_FLAGS} "--no-gui" "--no-session-management" "--config" "$ENV{OV_BINARY_PATH}/share/openvibe/kernel/openvibe_test.conf" "--play-fast" "ProcessorBox-Test.xml")
# It would be better to clean last, but we can't do this as it will delete the
# output we wish to include, and we can't prevent clean from running if a prev. test fails
......@@ -28,8 +29,11 @@ FOREACH(TEST_NAME ${TEST_SCENARIOS})
SET_TESTS_PROPERTIES(run_Classification_${TEST_NAME} PROPERTIES DEPENDS clean_Classification_${TEST_NAME})
SET_TESTS_PROPERTIES(run_Classification_${TEST_NAME} PROPERTIES ATTACHED_FILES_ON_FAIL ${OV_LOGFILE})
SET_TESTS_PROPERTIES(compare_Classification_${TEST_NAME} PROPERTIES DEPENDS run_Classification_${TEST_NAME}})
SET_TESTS_PROPERTIES(compare_Classification_${TEST_NAME} PROPERTIES DEPENDS run_Classification_${TEST_NAME})
SET_TESTS_PROPERTIES(compare_Classification_${TEST_NAME} PROPERTIES ATTACHED_FILES_ON_FAIL ${OV_LOGFILE})
SET_TESTS_PROPERTIES(run_Classification_${TEST_NAME}_ProcessorBox PROPERTIES DEPENDS run_Classification_${TEST_NAME})
SET_TESTS_PROPERTIES(run_Classification_${TEST_NAME}_ProcessorBox PROPERTIES ATTACHED_FILES_ON_FAIL ${OV_LOGFILE})
ENDFOREACH(TEST_NAME)
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
This diff is collapsed.
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1561,7 +1561,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue></DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
......@@ -1192,7 +1192,7 @@
<TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
<Name>Filename to save configuration to</Name>
<DefaultValue>${Path_UserData}/my-classifier.xml</DefaultValue>
<Value>classifiers/multiclass.xml</Value>
<Value>${__volatile_ScenarioDir}/classifiers/multiclass.xml</Value>
<Modifiability>false</Modifiability>
</Setting>
<Setting>
......
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