From 283eecf080b9911a35e77714bcba7c75e2b3052c Mon Sep 17 00:00:00 2001 From: Tamas Petz Date: Thu, 7 Dec 2023 12:57:28 +0100 Subject: [PATCH] [NFC][scripts] Fix non-ASCII characters --- scripts/build.sh | 2 +- scripts/format.sh | 2 +- scripts/generate_coverage_report.sh | 2 +- scripts/test_android.sh | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 9d3944fd1..8df09dddc 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -29,7 +29,7 @@ set -exu # ------------------------------------------------------------------------------ -# Automatic configuration +# Automatic configuration # ------------------------------------------------------------------------------ SCRIPT_PATH="$(realpath "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")" diff --git a/scripts/format.sh b/scripts/format.sh index cd492720c..3268b3fe6 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -26,7 +26,7 @@ SOURCES="$(find \ -print)" # shellcheck disable=2086 -# Split ${SOURCES}. +# Split ${SOURCES}. "${CLANG_FORMAT_BIN_PATH}" -i --verbose ${SOURCES} # ------------------------------------------------------------------------------ diff --git a/scripts/generate_coverage_report.sh b/scripts/generate_coverage_report.sh index 8a8173515..3cc968893 100755 --- a/scripts/generate_coverage_report.sh +++ b/scripts/generate_coverage_report.sh @@ -21,7 +21,7 @@ if [[ -z "${LLVM_COV}" ]]; then fi # ------------------------------------------------------------------------------ -# Automatic configuration +# Automatic configuration # ------------------------------------------------------------------------------ SCRIPT_PATH="$(realpath "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")" diff --git a/scripts/test_android.sh b/scripts/test_android.sh index 9cd613908..10c050dc1 100755 --- a/scripts/test_android.sh +++ b/scripts/test_android.sh @@ -30,14 +30,14 @@ if [[ -z "${ADB}" ]]; then fi # ------------------------------------------------------------------------------ -# Automatic configuration +# Automatic configuration # ------------------------------------------------------------------------------ : "${COVERAGE:=OFF}" : "${DEVICE_HOST:=127.0.0.1}" : "${DEVICE_PORT:=5037}" : "${DEVICE_TMP_PATH:=/data/local/tmp}" -# Generated coverage metrics are placed into '${DEVICE_TMP_PATH}/gcov'. +# Generated coverage metrics are placed into '${DEVICE_TMP_PATH}/gcov'. : "${GCOV_PREFIX:=${DEVICE_TMP_PATH}/gcov}" BUILD_PATH="$(realpath "${1}")" @@ -48,8 +48,8 @@ BINARY_DEVICE_PATH="${DEVICE_TMP_PATH}"/"${BINARY_NAME}" # ------------------------------------------------------------------------------ -# Returns a command which is suitable for collecting coverage info. -# Arguments: +# Returns a command which is suitable for collecting coverage info. +# Arguments: # 1: Build directory on host. # 2+: The command to wrap. with_coverage() { @@ -66,7 +66,7 @@ run_adb_command() { } # ------------------------------------------------------------------------------ -# Cleanup from host. +# Cleanup from host. # ------------------------------------------------------------------------------ # Remove gcov folder from device. @@ -110,7 +110,7 @@ if [[ "${COVERAGE}" == "ON" ]]; then fi # ------------------------------------------------------------------------------ -# Cleanup from host. +# Cleanup from host. # ------------------------------------------------------------------------------ if [[ "${COVERAGE}" == "ON" ]]; then -- GitLab