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
TF
in 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
.