diff --git a/tests/tools/check_qml_syntax b/tests/tools/check_qml_syntax index 258be6b4a..315dc9325 100755 --- a/tests/tools/check_qml_syntax +++ b/tests/tools/check_qml_syntax @@ -1,8 +1,8 @@ -#!/usr/bin/sh +#!/usr/bin/env bash -# ==================================================================== +# ============================================================================== # Tool to check the syntax of `.qml`/`.js` files. -# ==================================================================== +# ============================================================================== RESOURCES_FILE='resources.qrc' LINTER=qmllint-qt5 diff --git a/tests/tools/private/pre-commit b/tests/tools/private/pre-commit index ca87c9d66..4a88dbac3 100755 --- a/tests/tools/private/pre-commit +++ b/tests/tools/private/pre-commit @@ -1,4 +1,4 @@ -#!/usr/bin/sh +#!/usr/bin/env bash # Check QML files, quit on failure. sh './tests/tools/check_qml_syntax' diff --git a/tests/tools/test_qml b/tests/tools/test_qml index 7e050a2c2..16a2e3563 100644 --- a/tests/tools/test_qml +++ b/tests/tools/test_qml @@ -1,8 +1,8 @@ -#!/usr/bin/sh +#!/usr/bin/env bash -# ==================================================================== +# ============================================================================== # Tool to run unit tests on all `*.spec.qml` files. -# ==================================================================== +# ============================================================================== TEST_RUNNER='qmltestrunner-qt5' @@ -20,7 +20,7 @@ NC='\e[0m' SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $SCRIPT_DIR/.. -# ==================================================================== +# ============================================================================== so_far_so_good=0 diff --git a/tests/tools/update_resources b/tests/tools/update_resources index 0548423ce..bf6d06267 100755 --- a/tests/tools/update_resources +++ b/tests/tools/update_resources @@ -1,6 +1,6 @@ -#!/usr/bin/sh +#!/usr/bin/env bash -# ==================================================================== +# ============================================================================== # Tool to build automatically `resources.qrc`. # # It should be used sparingly, it adds all `.qml`, `.svg`, `.png`, @@ -8,7 +8,7 @@ # in the resources file. # # If you don't want to add a particular file, do not use this script! -# ==================================================================== +# ============================================================================== RESOURCES_FILE='resources.qrc'