HomePhabricator

[flang] Regression tests configuration for f18 repository (flang…

Authored by CarolineConcatto on Jan 14 2020, 8:20 AM.

Description

[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.

This patch:

  • 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:

-DLLVM_INSTALL_UTILS=On

to the LLVM build cmake.

Signed-off-by: Caroline Concatto <caroline.concatto@arm.com>

Original-commit: flang-compiler/f18@a58c6067a1ab5cd02dfb5b6fb9919a20b960d984
Reviewed-on: https://github.com/flang-compiler/f18/pull/861

Details

Committed
sscalponeJan 14 2020, 8:20 AM
Parents
rG05bdb54a490a: [flang] Outline operator<< for CharBlock. (flang-compiler/f18#916)
Branches
Unknown
Tags
Unknown