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

History 26

  1. Gerrit Code Review pushed patch set 1 for main to change 84512 status New Under Review 06/06/24, 14:27

  2. Gerrit Code Review pushed patch set 2 for main to change 84512 06/06/24, 15:14

  3. Gerrit Code Review pushed patch set 1 for 12.4 to change 84462 06/06/24, 15:17

  4. Gerrit Code Review pushed patch set 1 for 11.5 to change 84463 06/06/24, 15:17

  5. Garvin Hicking commented and changed status Under Review Resolved done 0 % 100 % 06/06/24, 15:50

    Applied in changeset commit:e262015ad8d613da5b1b47f6ada3edf9593ee4b9.

  6. Benni Mack changed status Resolved Closed 07/09/24, 15:35