# 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}/tags ${CMAKE_CURRENT_BINARY_DIR}/tags ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gswitch.cir ${CMAKE_CURRENT_BINARY_DIR}/gswitch.cir ONLY_IF_DIFFERENT)
file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gswitchHyst1.cir ${CMAKE_CURRENT_BINARY_DIR}/gswitchHyst1.cir ONLY_IF_DIFFERENT)
if( (NOT Xyce_PARALLEL_MPI) )
  add_test(NAME ${TestNamePrefix}GSWITCH/gswitch.cir COMMAND $<TARGET_FILE:Xyce> gswitch.cir )
  set_property(TEST ${TestNamePrefix}GSWITCH/gswitch.cir PROPERTY LABELS "serial;nightly;valgrind;switch")
  set_tests_properties(${TestNamePrefix}GSWITCH/gswitch.cir PROPERTIES FIXTURES_SETUP gswitch.cir)
  add_test(NAME ${TestNamePrefix}GSWITCH/gswitch.cir.verify COMMAND ${XYCE_VERIFY} gswitch.cir ${OutputDataDir}/GSWITCH/gswitch.cir.prn gswitch.cir.prn )
  set_tests_properties(${TestNamePrefix}GSWITCH/gswitch.cir.verify PROPERTIES FIXTURES_REQUIRED gswitch.cir)
  set_property(TEST ${TestNamePrefix}GSWITCH/gswitch.cir.verify PROPERTY LABELS "serial;nightly;valgrind;switch")
endif()
if( (NOT Xyce_PARALLEL_MPI) )
  add_test(NAME ${TestNamePrefix}GSWITCH/gswitchHyst1.cir COMMAND $<TARGET_FILE:Xyce> gswitchHyst1.cir )
  set_property(TEST ${TestNamePrefix}GSWITCH/gswitchHyst1.cir PROPERTY LABELS "serial;nightly;valgrind;switch")
  set_tests_properties(${TestNamePrefix}GSWITCH/gswitchHyst1.cir PROPERTIES FIXTURES_SETUP gswitchHyst1.cir)
  add_test(NAME ${TestNamePrefix}GSWITCH/gswitchHyst1.cir.verify COMMAND ${XYCE_VERIFY} gswitchHyst1.cir ${OutputDataDir}/GSWITCH/gswitchHyst1.cir.prn gswitchHyst1.cir.prn )
  set_tests_properties(${TestNamePrefix}GSWITCH/gswitchHyst1.cir.verify PROPERTIES FIXTURES_REQUIRED gswitchHyst1.cir)
  set_property(TEST ${TestNamePrefix}GSWITCH/gswitchHyst1.cir.verify PROPERTY LABELS "serial;nightly;valgrind;switch")
endif()
