]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Modified README.test (still not finished).
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 26 Oct 2006 04:35:00 +0000 (04:35 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 26 Oct 2006 04:35:00 +0000 (04:35 +0000)
darcs-hash:20061026043529-f2ef6-a732f02f8e14240a22e3e06a7ba7fe2d1157ce9e.gz

tests/README.tests

index 5b156d74a3f4c8254046cd5c6f7a102e2145e3c0..fddcf5a21a85a2f434768e58ca664773dfd5834c 100644 (file)
@@ -11,23 +11,30 @@ Structure of a Testcase
 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
 -----------------