| # Check command line status output |
| # |
| # RUN: rm -rf %t.build |
| # RUN: mkdir -p %t.build |
| # RUN: touch %t.build/input |
| # RUN: cp %s %t.build/build.llbuild |
| # RUN: %{llbuild} buildsystem build --no-db --serial --chdir %t.build > %t.out |
| # RUN: %{FileCheck} --input-file %t.out %s |
| # RUN: %{llbuild} buildsystem build --no-db -v --serial --chdir %t.build > %t2.out |
| # RUN: %{FileCheck} --check-prefix CHECK-VERBOSE --input-file %t2.out %s |
| # |
| # CHECK: COPY |
| # CHECK-VERBOSE: cp input output |
| |
| client: |
| name: basic |
| |
| targets: |
| "": ["output"] |
| |
| commands: |
| cp-output: |
| tool: shell |
| description: COPY |
| inputs: ["input"] |
| outputs: ["output"] |
| # FIXME: Design a limited mechanism for substitution. Might be tool specific. |
| args: cp input output |