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

set (TestArgs "write ${TestConfigOptions} ${TestArgs} ${TestFile}")
set (ReadArgs "read ${TestConfigOptions} write_read.bin")

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

if (NOT "${TestFile}" STREQUAL "" AND NOT "${TestBlessedFile}" STREQUAL "")
  exec_test ("${ReadArgs}" 0)
  compare_files (write_read.bin ${TestBlessedFile})
endif ()