Skip to content

Commit

Permalink
chore: fix exit code in runtest.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cpunion committed Sep 24, 2024
1 parent 9c17115 commit ace3fc8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _lldb/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -e

# Source common functions and variables
# shellcheck source=./_lldb/common.sh
source "$(dirname "$0")/common.sh"
# shellcheck disable=SC1091
source "$(dirname "$0")/common.sh" || exit 1

# Parse command-line arguments
package_path="$DEFAULT_PACKAGE_PATH"
Expand Down Expand Up @@ -34,7 +35,7 @@ while [[ $# -gt 0 ]]; do
done

# Build the project
build_project "$package_path"
build_project "$package_path" || exit 1

# Prepare LLDB commands
lldb_commands=(
Expand All @@ -53,4 +54,4 @@ for cmd in "${lldb_commands[@]}"; do
lldb_command_string+=" -O \"$cmd\""
done

eval "$LLDB_PATH $lldb_command_string"
eval "$LLDB_PATH $lldb_command_string" || exit 1

0 comments on commit ace3fc8

Please sign in to comment.