PlmSpeedTest.cmake 535 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
## This script runs the speed tests

execute_process (
  COMMAND "${PLM_PLASTIMATCH_PATH}/plastimatch"
#  OUTPUT_FILE ${PLM_BUILD_TESTING_DIR}/hello.txt
  OUTPUT_VARIABLE STDOUT
  ERROR_VARIABLE STDOUT
  )
message (STATUS "${PLM_PLASTIMATCH_PATH}/plastimatch")
message (STATUS "${STDOUT}")

file (WRITE "${PLM_BUILD_TESTING_DIR}/hello.txt"
  "${PLM_PLASTIMATCH_PATH}/plastimatch\n")
file (APPEND "${PLM_BUILD_TESTING_DIR}/hello.txt"
  "STDOUT = ${STDOUT}\n")
file (APPEND "${PLM_BUILD_TESTING_DIR}/hello.txt"
  "STDERR = ${STDERR}\n")