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