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/read.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/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 () |
