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

"scons compile" test needs quotes in evergreen.yml

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 3.7.4
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • 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

        Activity

          People

            max.hirschhorn@mongodb.com Max Hirschhorn
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: