Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34177

"scons compile" test needs quotes in evergreen.yml

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

      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@mongodb.com Max Hirschhorn
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: