After #941 is completed, F18 will contain a directory called test containing regression tests for the F18 compiler driven by the LLVM lit testing framework. LLVM projects tend also to use FileCheck for such tests whilst the F18 tests will still use custom bash scripts instead.
This task is to evaluate in turn each of the custom scripts and consider if they can be replaced with FileCheck and rewrite the tests accordingly.
The list of test scripts are:
semantics/test_modfile.sh
semantics/test_symbols.sh
semantics/test_any.sh
semantics/common.sh
evaluate/test_folding.sh
The tests in semantics that use test_errors.sh will be covered under #996
For each script, the porting order of preference would be:
Port to FileCheck
Port to some other LLVM-like testing utility or feature
After #941 is completed, F18 will contain a directory called test containing regression tests for the F18 compiler driven by the LLVM lit testing framework. LLVM projects tend also to use FileCheck for such tests whilst the F18 tests will still use custom bash scripts instead.
This task is to evaluate in turn each of the custom scripts and consider if they can be replaced with FileCheck and rewrite the tests accordingly.
The list of test scripts are:
The tests in semantics that use test_errors.sh will be covered under #996
For each script, the porting order of preference would be: