| # Check on conflicting -cc and -cmake-define=CMAKE_C_COMPILER |
| # options, the right compiler gets stored in the json report |
| # 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: --cmake-define=CMAKE_C_COMPILER:STRING=%{shared_inputs}/FakeCompilers/clang-r154332 \ |
| # RUN: --cc %{shared_inputs}/FakeCompilers/clang-r154331 \ |
| # 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-CC-CONFL-CMAKEDEFINE < %t.SANDBOX/build/report.json %s |
| # CHECK-CC-CONFL-CMAKEDEFINE: "run_order": "154332" |