# 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}/README ${CMAKE_CURRENT_BINARY_DIR}/README ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/bug_574_mpi.cir ${CMAKE_CURRENT_BINARY_DIR}/bug_574_mpi.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/tags ${CMAKE_CURRENT_BINARY_DIR}/tags ONLY_IF_DIFFERENT)
if( Xyce_PARALLEL_MPI  )
  add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_574/bug_574_mpi.cir COMMAND mpiexec -bind-to none -np 2 $<TARGET_FILE:Xyce> bug_574_mpi.cir )
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_574/bug_574_mpi.cir PROPERTY LABELS "parallel;nightly")
  set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_574/bug_574_mpi.cir PROPERTIES FIXTURES_SETUP bug_574_mpi.cir)
  add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_574/bug_574_mpi.cir.verify COMMAND ${XYCE_VERIFY} bug_574_mpi.cir ${OutputDataDir}/Certification_Tests/BUG_574/bug_574_mpi.cir.prn bug_574_mpi.cir.prn )
  set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_574/bug_574_mpi.cir.verify PROPERTIES FIXTURES_REQUIRED bug_574_mpi.cir)
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_574/bug_574_mpi.cir.verify PROPERTY LABELS "parallel;nightly")
endif()
