[flang] Regression tests configuration for f18 repository (flang-compiler/f18#861)
The configuration for the tests are in lit.* files.
The lit tests rely on the presence of llvm-lit,FileCheck, not and count.
When building LLVM add:
-DLLVM_INSTALL_UTILS=On at the cmake command.
LLVM_LIT is found by setting LLVM_EXTERNAL_LIT in f18 CMakeLists.txt.
- Uses LLVM_EXTERNAL_LIT
- Adds regression tests configurations
- Adds a proof of concept regression test
The regression test needs to have the Utils build in LLVM.
This is done by adding:
to the LLVM build cmake.
Signed-off-by: Caroline Concatto <firstname.lastname@example.org>