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