ClangBuiltLinux / continuous-integration

Continuous integration of latest Linux kernel with daily build of Clang & LLVM tools
https://travis-ci.com/ClangBuiltLinux/continuous-integration
Apache License 2.0
44 stars 18 forks source link

failure in apply_patches doesn't fail the build locally #236

Open nickdesaulniers opened 4 years ago

nickdesaulniers commented 4 years ago

When testing a fix, I noticed that local runs of driver.sh don't fail the build if a patch fails to apply, though the remote builds on travis do. TODO: investigate

nathanchance commented 4 years ago

Seems to work for me?

$ git revert -m1 43866be4578e9894a572a93a1249a385cd9471f8

$ REPO=linux-next ./driver.sh
...
error: patch failed: scripts/dtc/dtc-lexer.l:23
error: repository lacks the necessary blob to fall back on 3-way merge.
error: scripts/dtc/dtc-lexer.l: patch does not apply

$ echo $?
1