# 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}/RLC_mesh2.cir ${CMAKE_CURRENT_BINARY_DIR}/RLC_mesh2.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/RLC_mesh2_mor.cir ${CMAKE_CURRENT_BINARY_DIR}/RLC_mesh2_mor.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/RLC_mesh2_mor.cir.sh ${CMAKE_CURRENT_BINARY_DIR}/RLC_mesh2_mor.cir.sh ONLY_IF_DIFFERENT)
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/RLC_mesh2_mor.cir.sh PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/RLC_mesh2_top.cir ${CMAKE_CURRENT_BINARY_DIR}/RLC_mesh2_top.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 BASH_FOUND )
  add_test(NAME ${TestNamePrefix}ROM/MULTIPORT/RLC_mesh2_mor.cir.sh COMMAND bash RLC_mesh2_mor.cir.sh $<TARGET_FILE:Xyce> ${XYCE_VERIFY} ${XYCE_VERIFY} RLC_mesh2_mor.cir ${OutputDataDir}/ROM/MULTIPORT/RLC_mesh2_mor.cir.prn )
  set_property(TEST ${TestNamePrefix}ROM/MULTIPORT/RLC_mesh2_mor.cir.sh PROPERTY LABELS "serial;parallel;nightly;rom;resistor;capacitor;inductor")
endif()
if( Xyce_PARALLEL_MPI  AND BASH_FOUND )
  add_test(NAME ${TestNamePrefix}ROM/MULTIPORT/RLC_mesh2_mor.cir.sh COMMAND bash RLC_mesh2_mor.cir.sh "mpiexec -bind-to none -np 2 $<TARGET_FILE:Xyce>" ${XYCE_VERIFY} ${XYCE_VERIFY} RLC_mesh2_mor.cir ${OutputDataDir}/ROM/MULTIPORT/RLC_mesh2_mor.cir.prn )
  set_property(TEST ${TestNamePrefix}ROM/MULTIPORT/RLC_mesh2_mor.cir.sh PROPERTY LABELS "serial;parallel;nightly;rom;resistor;capacitor;inductor")
endif()
