| # Check the handling of a missing depfile. |
| |
| # RUN: rm -rf %t.build |
| # RUN: mkdir -p %t.build |
| # RUN: cp %s %t.build/build.ninja |
| # RUN: %{llbuild} ninja build --strict --jobs 1 --chdir %t.build --no-db &> %t1.out || true |
| # RUN: %{FileCheck} --check-prefix CHECK-STRICT --input-file %t1.out %s |
| # |
| # CHECK-STRICT: [1/{{.*}}] true |
| # CHECK-STRICT: unable to read dependency |
| |
| # RUN: rm -rf %t.build |
| # RUN: mkdir -p %t.build |
| # RUN: cp %s %t.build/build.ninja |
| # RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build --no-db &> %t2.out |
| # RUN: %{FileCheck} --check-prefix CHECK-NONSTRICT --input-file %t2.out %s |
| # |
| # CHECK-NONSTRICT: [1/{{.*}}] true |
| # CHECK-NONSTRICT-NOT: unable to read dependency |
| |
| rule TRUE |
| depfile = ${out}.d |
| command = true |
| build output: TRUE |