A directory contain the testcase if it contains at least one of these
files: Makefile.test, run_test.
-Definition of a Testcase:
+* Testcase Definition:
-* Makefile.test: testcase commands in the form of makefile. The test is
- run by "make -f Makefile.test". If the exit status is zero, the
- testcase is considered as passed, otherwise as failed.
+ - Makefile.test: testcase commands in the form of makefile. The test
+ is run by "make -f Makefile.test".
-* run_test: executable file that runs the test(s). The exit status has
- the same meaning as in the case of Makefile.test.
+ - run_test: executable file that runs the test(s).
-* rules: Specifies the rules this testcase applies to. The syntax of
- this files is describes in section Rules description.
+ - rules: Specifies the rules this testcase applies to. The syntax of
+ this files is describes in section Rules description.
-Output of testcase:
+* Testcase Output:
-Besides exit status, the testcases can produce the folowing output.
+ Each execution of testcase should produce the following outputs:
-* FIXME: chybove hlaseni - soubor error nebo stderr?
+ - Exit status of make or run_test:
+ 0 - the testcase is considered as passed
+ 1 - testcase failed
+ 2 - testcase cannot be executed (e.g. because the needed
+ compiler is not available)
+
+
+ - Besides exit status, the testcases can produce the following
+ output.
+ * FIXME: chybove hlaseni - soubor error nebo stderr?
Rules Description
-----------------