aboutsummaryrefslogtreecommitdiff
path: root/tests/read.cmake
blob: 4f24101d2c09b9442eb25aa202f77f02c62155cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include (${TestFunctions})

set (TestArgs "read ${TestConfigOptions} ${TestArgs}")
if (NOT "${TestFile}" STREQUAL "")
  set (TestArgs "${TestArgs} read.bin")
endif ()

exec_test ("${TestArgs}" ${TestExitCode})

if (NOT "${TestFile}" STREQUAL "" AND  ${RETVAL} EQUAL 0)
  compare_files (read.bin ${TestFile})
endif ()