# 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}/exclude ${CMAKE_CURRENT_BINARY_DIR}/exclude ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/first.cir ${CMAKE_CURRENT_BINARY_DIR}/first.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/first_last.cir ${CMAKE_CURRENT_BINARY_DIR}/first_last.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/first_last.cir.sh ${CMAKE_CURRENT_BINARY_DIR}/first_last.cir.sh ONLY_IF_DIFFERENT)
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/first_last.cir.sh PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/last.cir ${CMAKE_CURRENT_BINARY_DIR}/last.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/tags ${CMAKE_CURRENT_BINARY_DIR}/tags ONLY_IF_DIFFERENT)
if( (NOT Xyce_PARALLEL_MPI) AND PERL_FOUND )
  add_test(NAME ${TestNamePrefix}Certification_Tests/ISSUE_202/first_last.cir.sh COMMAND perl -I${XyceRegressionTestScripts} first_last.cir.sh $<TARGET_FILE:Xyce> ${XYCE_VERIFY} ${XYCE_VERIFY} first_last.cir ${OutputDataDir}/Certification_Tests/ISSUE_202/first_last.cir.prn )
  set_property(TEST ${TestNamePrefix}Certification_Tests/ISSUE_202/first_last.cir.sh PROPERTY LABELS "serial;nightly;issue202;parser")
endif()
