aboutsummaryrefslogtreecommitdiff
path: root/tests/runtest/test_suite-cc.shtest
blob: a5cf3bd41add564b3dc366d7686b073880f792b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Check a missing --cc on the command line
# RUN: rm -rf %t.SANDBOX
# RUN: lnt runtest test-suite \
# RUN:     --sandbox %t.SANDBOX \
# RUN:     --no-timestamp \
# RUN:     --test-suite %S/Inputs/test-suite-cmake \
# RUN:     --use-cmake %S/Inputs/test-suite-cmake/fake-cmake \
# RUN:     --use-make %S/Inputs/test-suite-cmake/fake-make \
# RUN:     --use-lit %S/Inputs/test-suite-cmake/fake-lit \
# RUN:     > %t.log 2> %t.err || true
# RUN: FileCheck  --check-prefix CHECK-MISSING-CC < %t.err %s
# CHECK-MISSING-CC: error: Couldn't find C compiler (). Maybe you should specify --cc?