Sha256: 073da112339209eb7edc2fccf4a4147aa7b34b20c7764f33ab75e576e4b0a736
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 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 -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 runRspec "$i" done else echo "Running only $specific_spec" runRspec $1 fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
elastic-apm-3.2.0 | bin/run-tests |