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

"scons compile" test needs quotes in evergreen.yml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.7.4
    • 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

        Issue Links

          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: