# 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}/bug920.cir ${CMAKE_CURRENT_BINARY_DIR}/bug920.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/bug920.cir.sh ${CMAKE_CURRENT_BINARY_DIR}/bug920.cir.sh ONLY_IF_DIFFERENT)
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/bug920.cir.sh PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/homotopy-no-output.cir ${CMAKE_CURRENT_BINARY_DIR}/homotopy-no-output.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/homotopy-multiple-lines.cir ${CMAKE_CURRENT_BINARY_DIR}/homotopy-multiple-lines.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/homotopy-tran-order1.cir ${CMAKE_CURRENT_BINARY_DIR}/homotopy-tran-order1.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/homotopy-tran-order2.cir ${CMAKE_CURRENT_BINARY_DIR}/homotopy-tran-order2.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/exclude ${CMAKE_CURRENT_BINARY_DIR}/exclude 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/BUG_920_SON/bug920.cir.sh COMMAND perl -I${XyceRegressionTestScripts} bug920.cir.sh $<TARGET_FILE:Xyce> ${XYCE_VERIFY} ${XYCE_VERIFY} bug920.cir ${OutputDataDir}/Certification_Tests/BUG_920_SON/bug920.cir.prn )
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_920_SON/bug920.cir.sh PROPERTY LABELS "serial;parallel;nightly;bug920;homotopy;output")
endif()
if( Xyce_PARALLEL_MPI  AND PERL_FOUND )
  add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_920_SON/bug920.cir.sh COMMAND perl -I${XyceRegressionTestScripts} bug920.cir.sh "mpiexec -bind-to none -np 2 $<TARGET_FILE:Xyce>" ${XYCE_VERIFY} ${XYCE_VERIFY} bug920.cir ${OutputDataDir}/Certification_Tests/BUG_920_SON/bug920.cir.prn )
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_920_SON/bug920.cir.sh PROPERTY LABELS "serial;parallel;nightly;bug920;homotopy;output")
endif()
