Issue Bug Closed

#103988runTests.sh uses bad escape sequence leading to error on macOS

Garvin Hicking 06/06/24, 14:24 updated 07/09/24, 15:35

Description

runTests.sh help output uses:

        DEPRECATED - pass arguments after the `--` separator directly. For example, instead of
            Build/Scripts/runTests.sh -s unit -e "--filter filterByValueRecursiveCorrectlyFiltersArray"
        use
            Build/Scripts/runTests.sh -s unit -- --filter filterByValueRecursiveCorrectlyFiltersArray

for some formatting. The combination of the backticks plus “—” reports this error on macOS bash:

Build/Scripts/runTests.sh: line 175: --: command not found

Instead of backticks, normal quotes should be utilized.

Reviews 3