Skip to content

Commit

Permalink
test TOPPAS pipelines regularly to ensure they are not out of date
Browse files Browse the repository at this point in the history
  • Loading branch information
cbielow authored and mr-c committed Nov 28, 2024
1 parent 6466d8f commit 789f366
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/tests/toppas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,24 @@ if(WITH_GUI) # ExecutePipeline requires Qt/GUI internally
# do not test the output -- we just want the pipeline to run -- the tools
# itself are tested separately

## Run the examples in <openms>/share/OpenMS/examples, to make sure they are up to date
file(GLOB TOPPAS_EXAMPLE_PIPELINES ${CF_OPENMS_DATA_PATH}/examples/TOPPAS/*.toppas)
foreach(I_PIPELINE_PATH ${TOPPAS_EXAMPLE_PIPELINES})
get_filename_component(I_FILE "${I_PIPELINE_PATH}" NAME)
if(I_FILE MATCHES "GenericWrapper_")
message(STATUS "Skipping ${I_FILE}")
continue()
endif()
if (I_FILE MATCHES "Ecoli_Identification" AND NOT COMET_BINARY)
message(STATUS "Skipping ${I_FILE} (Comet.exe is required but missing)")
continue()
endif()
message(STATUS "Adding TOPPAS example pipeline for testing: ${I_FILE} [WITH_GUI + ENABLE_PIPELINE_TESTING]")
add_test("TOPP_ExecutePipeline_${I_FILE}" ${TOPP_BIN_PATH}/ExecutePipeline -test -in "${I_PIPELINE_PATH}" -out_dir . -num_jobs 4)
endforeach()



################### Labelfree quantification with IDMapping ####################

## Example usage (no actual test or data currently available)
Expand Down

0 comments on commit 789f366

Please sign in to comment.