# This file is generated by the script SetUpCtestFiles.py
# If possible, modify the script to fix any issues with the CMakeLists.txt files
# Or you can remove this header line to prevent this file from being overwritten

file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest.cir ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest.cir.sh ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest.cir.sh ONLY_IF_DIFFERENT)
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest.cir.sh PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest.cir.tags ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest.cir.tags ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest.cir.options ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest.cir.options ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest_isc_td_input.prn ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest_isc_td_input.prn ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest_isc_td_input.csd ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest_isc_td_input.csd ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest_isc_td_input.csv ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest_isc_td_input.csv ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ErrorMessageTest_isc_td_input.noindex ${CMAKE_CURRENT_BINARY_DIR}/ErrorMessageTest_isc_td_input.noindex ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ylin-2port-sparam.cir.s2p ${CMAKE_CURRENT_BINARY_DIR}/ylin-2port-sparam.cir.s2p ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc.cir ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc.cir.sh ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc.cir.sh ONLY_IF_DIFFERENT)
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc.cir.sh PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc.cir.s2p ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc.cir.s2p ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc_input.prn ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc_input.prn ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc_input.csv ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc_input.csv ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc_input_prn ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc_input_prn ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc_input_csv ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc_input_csv ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/opAmpWithTDIsc_input_noindex ${CMAKE_CURRENT_BINARY_DIR}/opAmpWithTDIsc_input_noindex ONLY_IF_DIFFERENT)
if( (NOT Xyce_PARALLEL_MPI) AND PERL_FOUND )
  add_test(NAME ${TestNamePrefix}YLIN/ISC_TD/ErrorMessageTest.cir.sh COMMAND perl -I${XyceRegressionTestScripts} ErrorMessageTest.cir.sh $<TARGET_FILE:Xyce> ${XYCE_VERIFY} ${XYCE_VERIFY} ErrorMessageTest.cir ${OutputDataDir}/YLIN/ISC_TD/ErrorMessageTest.cir.prn )
  set_property(TEST ${TestNamePrefix}YLIN/ISC_TD/ErrorMessageTest.cir.sh PROPERTY LABELS "serial;nightly;parallel;ylin;errorexit")
endif()
if( Xyce_PARALLEL_MPI  AND PERL_FOUND )
  add_test(NAME ${TestNamePrefix}YLIN/ISC_TD/ErrorMessageTest.cir.sh COMMAND perl -I${XyceRegressionTestScripts} ErrorMessageTest.cir.sh "mpiexec -bind-to none -np 2 $<TARGET_FILE:Xyce>" ${XYCE_VERIFY} ${XYCE_VERIFY} ErrorMessageTest.cir ${OutputDataDir}/YLIN/ISC_TD/ErrorMessageTest.cir.prn )
  set_property(TEST ${TestNamePrefix}YLIN/ISC_TD/ErrorMessageTest.cir.sh PROPERTY LABELS "serial;nightly;parallel;ylin;errorexit")
endif()
if( (NOT Xyce_PARALLEL_MPI) AND PERL_FOUND )
  add_test(NAME ${TestNamePrefix}YLIN/ISC_TD/opAmpWithTDIsc.cir.sh COMMAND perl -I${XyceRegressionTestScripts} opAmpWithTDIsc.cir.sh $<TARGET_FILE:Xyce> ${XYCE_VERIFY} ${XYCE_VERIFY} opAmpWithTDIsc.cir ${OutputDataDir}/YLIN/ISC_TD/opAmpWithTDIsc.cir.prn )
  set_property(TEST ${TestNamePrefix}YLIN/ISC_TD/opAmpWithTDIsc.cir.sh PROPERTY LABELS "serial;nightly;parallel;ylin")
endif()
if( Xyce_PARALLEL_MPI  AND PERL_FOUND )
  add_test(NAME ${TestNamePrefix}YLIN/ISC_TD/opAmpWithTDIsc.cir.sh COMMAND perl -I${XyceRegressionTestScripts} opAmpWithTDIsc.cir.sh "mpiexec -bind-to none -np 2 $<TARGET_FILE:Xyce>" ${XYCE_VERIFY} ${XYCE_VERIFY} opAmpWithTDIsc.cir ${OutputDataDir}/YLIN/ISC_TD/opAmpWithTDIsc.cir.prn )
  set_property(TEST ${TestNamePrefix}YLIN/ISC_TD/opAmpWithTDIsc.cir.sh PROPERTY LABELS "serial;nightly;parallel;ylin")
endif()
