blob: 54908c286c50a814eb7be1c0bfc1f23add1b86f8 [file] [log] [blame]
# Check that we report a proper exit status with failing commands.
#
# RUN: rm -rf %t.build
# RUN: mkdir -p %t.build
# RUN: cp %s %t.build/build.llbuild
# RUN: /bin/sh -c "%{llbuild} buildsystem build --serial --chdir %t.build; echo \"exit code: $?\"" > %t.out
# RUN: %{FileCheck} < %t.out %s
# Check that we error on invalid build files.
#
# RUN: echo "bogus" > %t.build/bogus.llbuild
# RUN: /bin/sh -c "%{llbuild} buildsystem build --serial --chdir %t.build -f bogus.llbuild; echo \"exit code: $?\"" > %t.out
# RUN: %{FileCheck} < %t.out %s
# CHECK: exit code: 1
client:
name: basic
targets:
"": ["output"]
commands:
C2:
tool: shell
inputs: ["output-1"]
outputs: ["output"]
args: false