usage.py 272 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 # 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]*}}