"scons compile" test needs quotes in evergreen.yml

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG 2018-04-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following code in "scons compile" requires a quote for the macro ${targets}:

              if [ ${targets} = "all" ] && [ -n "${num_scons_compile_all_jobs_available|}" ]; then
                echo "Changing SCons to run with --jobs=${num_scons_compile_all_jobs_available|}"
                extra_args="$extra_args --jobs=${num_scons_compile_all_jobs_available|}"
              fi
      

      It produces this error

      sh: line 10: [: too many arguments
      

              Assignee:
              Max Hirschhorn
              Reporter:
              Jonathan Abrahams (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: