Sha256: 63a9e919467e4c396f8f958a04c189f028579d3f3067f97303bd8b3aad8bc78d

Contents?: true

Size: 648 Bytes

Versions: 13

Compression:

Stored size: 648 Bytes

Contents

#!/bin/bash
set -e

runRspec(){
  local case=${1:-""}
  local bn=${case}

  if [ -n "${case}" ]; then
    bn="$(basename ${case} _spec.rb)/"
  fi
  bundle exec rspec \
    -f progress \
    -r yarjuf -f JUnit -o spec/junit-reports/${bn}ruby-agent-junit.xml \
    ${case}
}
specific_spec=$1

if [[ $specific_spec = '' ]]; then
  echo 'Running all specs, including integration'

  runRspec
  for i in $(find spec/integration -name '*_spec.rb')
  do
    echo "========================================"
    echo $i
    echo "========================================"
    runRspec "$i"
  done
else
  echo "Running only $specific_spec"

  runRspec $1
fi

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
elastic-apm-3.15.1 bin/run-tests
elastic-apm-4.0.0.beta.1 bin/run-tests
elastic-apm-3.15.0 bin/run-tests
elastic-apm-3.14.0 bin/run-tests
elastic-apm-3.13.0 bin/run-tests
elastic-apm-3.12.1 bin/run-tests
elastic-apm-3.12.0 bin/run-tests
elastic-apm-3.11.1 bin/run-tests
elastic-apm-3.11.0 bin/run-tests
elastic-apm-3.10.1 bin/run-tests
elastic-apm-3.10.0 bin/run-tests
elastic-apm-3.9.0 bin/run-tests
elastic-apm-3.8.0 bin/run-tests