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