mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
shellcheck: shellcheck fixes
This commit is contained in:
parent
61abfbcad1
commit
e352a72e5e
@ -17,7 +17,8 @@ readonly BINARY="$1"
|
||||
readonly RAW_PROFILE_FILE="$2"
|
||||
readonly TARGET_HTML_FILE="$3"
|
||||
|
||||
readonly MERGED_PROFILE_FILE=$(mktemp)
|
||||
MERGED_PROFILE_FILE=$(mktemp)
|
||||
readonly MERGED_PROFILE_FILE
|
||||
|
||||
llvm-profdata merge -sparse "${RAW_PROFILE_FILE}" -o "${MERGED_PROFILE_FILE}"
|
||||
llvm-cov show "${BINARY}" -instr-profile="${MERGED_PROFILE_FILE}" -format=html \
|
||||
|
@ -1,9 +1,10 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
# Runs each fuzz target on its seed corpus and prints any failures.
|
||||
|
||||
readonly FUZZ_DIR=$(dirname "$0")
|
||||
readonly TARGETS=$(find "${FUZZ_DIR}" -type f -name "fuzz-*" ! -name "*.*")
|
||||
FUZZ_DIR=$(dirname "$0")
|
||||
readonly FUZZ_DIR
|
||||
TARGETS=$(find "${FUZZ_DIR}" -type f -name "fuzz-*" ! -name "*.*")
|
||||
readonly TARGETS
|
||||
|
||||
export UBSAN_OPTIONS="halt_on_error=1:print_stacktrace=1"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user