llvm-project/cross-project-tests
Tozer 9c03662748 [Dexter] Mutually exclusive argument group for --builder and --binary
Dexter currently accepts two possible arguments to determine the binary
used for testing; either --builder <builder> (and optionally
compiler/linker flags) to build the binary, or --binary <binary> to use
the provided binary directly. If both are passed, then --binary
overrides --builder; if neither are passed, then an error is raised.
This patch instead puts these arguments into a required mutually
exclusive argument group, so that an error is automatically raised by
argparse if both or neither are given.

As an additional change, the --cflags and --ldflags will now raise a
warning if they are passed without the --builder flag, as they are
meaningless if Dexter is using a pre-built binary.

Reviewed By: Orlando

Differential Revision: https://reviews.llvm.org/D109833
2021-09-17 18:44:09 +01:00
..
debuginfo-tests [Dexter] Mutually exclusive argument group for --builder and --binary 2021-09-17 18:44:09 +01:00
CMakeLists.txt [cross-project-tests] Add/update check-* targets for cross-project-tests 2021-06-28 11:31:41 +01:00
lit.cfg.py [cross-project-tests] Make clang optional if not in LLVM_ENABLE_PROJECTS 2021-06-28 11:31:40 +01:00
lit.site.cfg.py.in [cross-project-tests] Add lld as a dependency if in LLVM_ENABLE_PROJECTS 2021-06-28 11:31:40 +01:00