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