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