Language test application (sgstest)
The application runs all test scripts in ./tests directory. File handling rules are as follows:
- Ignore files with
!_prefix. - Require compilation success for tests with
s_prefix. - Require compilation failure for tests with
f_prefix. - If there is no prefix, require that the system does not crash.
- If a file name as
TFin it, use the advanced testing framework. - Files are sorted according to the logical order of testing: requirements grow with test file number:
- first sort by whether testing framework (TF) is required (files that don't need it go first);
- then sort by whether compilation success is required (files that do need it go first);
- finally, sort by whether compilation state is expected (files that do need it go first);
The sort order broken down:
- 1.
s_tests withoutTF - 2.
f_tests withoutTF - 3. tests without prefix and
TF - 4.
s_tests withTF - 5.
f_tests withTF(none such tests exist because it would make no sense to have them) - 6. tests without prefix but with
TF
The application sgstest must be run from root, like so: bin/sgstest. It generates two log files: ./tests-errors.log and ./tests-output.log.
