From 02e24f0f533fe904c3a5275c4060c10c38d7c17a Mon Sep 17 00:00:00 2001 From: Ján Sučan Date: Wed, 10 May 2017 15:13:29 +0200 Subject: Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA --- tests/read.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tests/read.cmake (limited to 'tests/read.cmake') 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 () -- cgit v1.2.3