blob: 2708ede4bc819241c65f6eb670bd6f084d418e04 [file] [log] [blame]
# Check basic handling of 'phony' commands.
# RUN: rm -rf %t.build
# RUN: mkdir -p %t.build
# RUN: cp %s %t.build/build.llbuild
# RUN: %{llbuild} buildsystem build --serial --chdir %t.build > %t.out
# RUN: %{FileCheck} --input-file %t.out %s
#
# CHECK: THING1
# CHECK: THING2
#
# We shouldn't report anything about the phony command.
# CHECK-NOT: output
client:
name: basic
targets:
"": ["<output>"]
commands:
thing-1:
tool: shell
outputs: ["<thing-1>"]
args: echo THING1
thing-2:
tool: shell
outputs: ["<thing-2>"]
args: echo THING2
output:
tool: phony
inputs: ["<thing-1>", "<thing-2>"]
outputs: ["<output>"]