Sha256: 9c21ff26e840b4a28331f42e143ba94821119524e8b7fe13339d5e1a6ab3f88d

Contents?: true

Size: 742 Bytes

Versions: 35

Compression:

Stored size: 742 Bytes

Contents

show_local_instructions_impl() {
  local arch="$1"
  shift
  
  echo To test this configuration locally:
  local params=
  while test -n "$1"; do
    key="$1"
    shift
    # ${!foo} syntax is bash specific:
    # https://stackoverflow.com/questions/14049057/bash-expand-variable-in-a-variable
    value="${!key}"
    if test -n "$value"; then
      params="$params $key=$value"
    fi
  done
  
  # $0 has the current script being executed which is also the script that
  # was initially invoked EXCEPT for the AWS configurations which use the
  # wrapper script.
  if echo "$AUTH" |grep -q ^aws; then
    script=.evergreen/run-tests-aws-auth.sh
  else
    script="$0"
  fi
  echo ./.evergreen/test-on-docker -d $arch $params -s "$script"
}

Version data entries

35 entries across 35 versions & 4 rubygems

Version Path
mogno-1.0.0 spec/shared/shlib/config.sh
mongoid-9.0.0 spec/shared/shlib/config.sh
mongo-2.20.0 spec/shared/shlib/config.sh
mongoid-8.0.8 spec/shared/shlib/config.sh
mongoid-8.1.5 spec/shared/shlib/config.sh
bson-5.0.0-java spec/shared/shlib/config.sh
bson-5.0.0 spec/shared/shlib/config.sh
mongoid-8.1.4 spec/shared/shlib/config.sh
mongo-2.19.3 spec/shared/shlib/config.sh
mongo-2.18.3 spec/shared/shlib/config.sh
mongo-2.19.2 spec/shared/shlib/config.sh
mongoid-8.0.7 spec/shared/shlib/config.sh
mongoid-8.1.3 spec/shared/shlib/config.sh
mongoid-8.1.2 spec/shared/shlib/config.sh
mongoid-8.0.6 spec/shared/shlib/config.sh
mongoid-7.5.4 spec/shared/shlib/config.sh
mongo-2.19.1 spec/shared/shlib/config.sh
mongoid-8.1.1 spec/shared/shlib/config.sh
mongoid-8.0.5 spec/shared/shlib/config.sh
mongoid-8.1.0 spec/shared/shlib/config.sh