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

"scons compile" test needs quotes in evergreen.yml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.4
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      TIG 2018-04-09

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              max.hirschhorn Max Hirschhorn
              Reporter:
              jonathan.abrahams Jonathan Abrahams
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: