Skip to content
Snippets Groups Projects
Commit 76747817 authored by Julien Michel's avatar Julien Michel
Browse files

TEST: Preventing parallel execution of tests sharing the same output ressource

parent 979f89c2
No related branches found
No related tags found
No related merge requests found
...@@ -131,12 +131,10 @@ OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULOVW ...@@ -131,12 +131,10 @@ OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULOVW
${TEMP}/${OUTFILE} ${TEMP}/${OUTFILE}
) )
SET_TESTS_PROPERTIES(apTvSeSegmentation${filter}${mode}_ULOVW PROPERTIES DEPENDS apTvSeSegmentation${filter}${mode}) SET_TESTS_PROPERTIES(apTvSeSegmentation${filter}${mode}_ULOVW PROPERTIES DEPENDS apTvSeSegmentation${filter}${mode} RESSOURCE_LOCK ${OUTFILE})
# Add a test for ULU # Add a test for ULU
SET(vector_parameters "-mode.vector.tilesize 500 -mode.vector.minsize 50 -mode.vector.simplify 0.1 -mode.vector.outmode ulu") SET(vector_parameters "-mode.vector.tilesize 500 -mode.vector.minsize 50 -mode.vector.simplify 0.1 -mode.vector.outmode ulu")
SET(OUTFILE apTvSeSegmentation${filter}${mode}${${lmode}_output_format})
OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULU OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULU
APP Segmentation APP Segmentation
...@@ -152,12 +150,10 @@ OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULU ...@@ -152,12 +150,10 @@ OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULU
${TEMP}/${OUTFILE} ${TEMP}/${OUTFILE}
) )
SET_TESTS_PROPERTIES(apTvSeSegmentation${filter}${mode}_ULU PROPERTIES DEPENDS apTvSeSegmentation${filter}${mode}) SET_TESTS_PROPERTIES(apTvSeSegmentation${filter}${mode}_ULU PROPERTIES DEPENDS apTvSeSegmentation${filter}${mode} RESSOURCE_LOCK ${OUTFILE})
# Add a test for ULCO # Add a test for ULCO
SET(vector_parameters "-mode.vector.tilesize 500 -mode.vector.minsize 50 -mode.vector.simplify 0.1 -mode.vector.outmode ulco") SET(vector_parameters "-mode.vector.tilesize 500 -mode.vector.minsize 50 -mode.vector.simplify 0.1 -mode.vector.outmode ulco")
SET(OUTFILE apTvSeSegmentation${filter}${mode}${${lmode}_output_format})
OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULCO OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULCO
APP Segmentation APP Segmentation
...@@ -173,4 +169,4 @@ OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULCO ...@@ -173,4 +169,4 @@ OTB_TEST_APPLICATION(NAME apTvSeSegmentation${filter}${mode}_ULCO
${TEMP}/${OUTFILE} ${TEMP}/${OUTFILE}
) )
SET_TESTS_PROPERTIES(apTvSeSegmentation${filter}${mode}_ULCO PROPERTIES DEPENDS apTvSeSegmentation${filter}${mode} WILL_FAIL TRUE) SET_TESTS_PROPERTIES(apTvSeSegmentation${filter}${mode}_ULCO PROPERTIES DEPENDS apTvSeSegmentation${filter}${mode} WILL_FAIL TRUE RESSOURCE_LOCK ${OUTFILE})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment