Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/build_with_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ run_build_with_optional_late_host_restore() {
build_status=$?
set -e

if [ "$build_status" -eq "$late_restore_exit_code" ] && [ -f "$late_restore_status_file" ]; then
if [ -f "$late_restore_status_file" ]; then
if restore_cache; then
late_restore_hit=true
return 0
Expand Down
4 changes: 3 additions & 1 deletion scripts/tests/test_build_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ mkdir -p artifacts
bk_fetch_source "${BK_TEST_SOURCE_REPO}" autosrc main
cd autosrc
./configure
make "$system"
if ! make "$system" > make.log 2>&1; then
exit 1
fi
EOF
chmod +x "${TMP_DIR}/project/programs/autotoolapp/build.sh"

Expand Down
Loading