File: runtest.cmake

package info (click to toggle)
diet 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 38,140 kB
  • sloc: ansic: 65,575; cpp: 58,570; xml: 365; sh: 83; makefile: 29
file content (13 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# wrapper allowing us to launch tests and redirect their output

# don't use $ENV{XXX} as in documentation ==> does not work
set( ENV{BOOST_TEST_CATCH_SYSTEM_ERRORS} "no" )
execute_process( COMMAND ${BIN_PATH}/${TEST_PROG} 
  --result_code=no
  --report_level=no
  --log_format=xml
  --log_level=test_suite
  --report_sink=${REPORT_PATH}/${TEST_PROG}.xml
  OUTPUT_QUIET
  ERROR_QUIET
)