# 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_2039.cir ${CMAKE_CURRENT_BINARY_DIR}/bug_2039.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/bug_2039.cir.prn.gs.pl ${CMAKE_CURRENT_BINARY_DIR}/bug_2039.cir.prn.gs.pl ONLY_IF_DIFFERENT)
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/bug_2039.cir.prn.gs.pl PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
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_2039/bug_2039.cir COMMAND $<TARGET_FILE:Xyce> bug_2039.cir )
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir PROPERTY LABELS "serial;parallel;nightly;bug2039")
  set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir PROPERTIES FIXTURES_SETUP bug_2039.cir)
  add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs COMMAND perl bug_2039.cir.prn.gs.pl bug_2039.cir.prn)
  set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs PROPERTIES FIXTURES_REQUIRED bug_2039.cir)
set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs PROPERTIES FIXTURES_SETUP bug_2039.cir.gs)
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs PROPERTY LABELS "serial;parallel;nightly;bug2039")
  add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.verify COMMAND ${XYCE_VERIFY} bug_2039.cir bug_2039.cir.prn.gs bug_2039.cir.prn )
  set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.verify PROPERTIES FIXTURES_REQUIRED bug_2039.cir.gs)
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.verify PROPERTY LABELS "serial;parallel;nightly;bug2039")
endif()
if( Xyce_PARALLEL_MPI  )
  add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir COMMAND mpiexec -bind-to none -np 2 $<TARGET_FILE:Xyce> bug_2039.cir )
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir PROPERTY LABELS "serial;parallel;nightly;bug2039")
  set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir PROPERTIES FIXTURES_SETUP bug_2039.cir)
add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs COMMAND perl bug_2039.cir.prn.gs.pl bug_2039.cir.prn)
set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs PROPERTIES FIXTURES_REQUIRED bug_2039.cir)
set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs PROPERTIES FIXTURES_SETUP bug_2039.cir.gs)
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.gen_gs PROPERTY LABELS "serial;parallel;nightly;bug2039")
add_test(NAME ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.verify COMMAND ${XYCE_VERIFY} bug_2039.cir bug_2039.cir.prn.gs bug_2039.cir.prn )
set_tests_properties(${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.verify PROPERTIES FIXTURES_REQUIRED bug_2039.cir.gs)
  set_property(TEST ${TestNamePrefix}Certification_Tests/BUG_2039/bug_2039.cir.verify PROPERTY LABELS "serial;parallel;nightly;bug2039")
endif()
