gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

runTest.cmake (508B)


      1 include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/rclone.cmake)
      2 
      3 set(TEST_DATA_DIR integrationTestsData)
      4 
      5 if(EXISTS ${RCLONE_CONF})
      6 	copyDataFrom("integrationtests" ${TEST_DATA_DIR})
      7 
      8 	execute_process(COMMAND ${TEST_RUNNER} -folder ${TEST_DATA_DIR} COMMAND_ECHO STDOUT RESULT_VARIABLE TEST_RESULT)
      9 	if(TEST_RESULT)
     10 		message(FATAL_ERROR "Failed to execute ${TEST_RUNNER}: " ${CMD_RESULT})
     11 	endif()
     12 else()
     13 	message(FATAL_ERROR "rclone.conf not found at ${RCLONE_CONF}, unable to run integration tests")
     14 endif()