llvm-for-llvmta/utils/lit/tests/usage.py

8 lines
272 B
Python
Raw Normal View History

2022-04-25 10:02:23 +02:00
# Basic sanity check for `--help` and `--version` options.
#
# RUN: %{lit} --help | FileCheck %s --check-prefix=HELP
# RUN: %{lit} --version 2>&1 | FileCheck %s --check-prefix=VERSION
#
# HELP: usage: lit [-h]
# VERSION: lit {{[0-9]+\.[0-9]+\.[0-9]+[a-zA-Z0-9]*}}