diff options
| author | Ján Sučan <sucanjan@fit.cvut.cz> | 2017-05-10 15:13:29 +0200 |
|---|---|---|
| committer | Ján Sučan <sucanjan@fit.cvut.cz> | 2017-05-10 15:13:29 +0200 |
| commit | 02e24f0f533fe904c3a5275c4060c10c38d7c17a (patch) | |
| tree | 19d05c60e3d6a6782c4712de960a8f6705054063 /tests/write.cmake | |
Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA
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 () |
