diff options
Diffstat (limited to 'tests/read.cmake')
| -rwxr-xr-x | tests/read.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/read.cmake b/tests/read.cmake new file mode 100755 index 0000000..4f24101 --- /dev/null +++ b/tests/read.cmake @@ -0,0 +1,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 () |
