Sha256: 3bb5841afa283914f54653cf6d293edadb08526cd04c6ffc288581e6d9c735cc

Contents?: true

Size: 765 Bytes

Versions: 13

Compression:

Stored size: 765 Bytes

Contents

#!/bin/bash

set -e -x

# idea taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html
export JRUBY_OPTS='-X-C' # disable JIT since these processes are so short lived

# force jRuby to use client mode JVM or a compilation mode thats as close as possible,
# idea taken from https://github.com/jruby/jruby/wiki/Improving-startup-time
export JAVA_OPTS='-client -XX:+TieredCompilation -XX:TieredStopAtLevel=1'

echo "Running rspec specs"
bin/rspec spec --format progress --profile

echo "Running cucumber specs"

if ruby -e "exit(defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java')"; then
  # This is JRUBY which requires this one weird path trick...
  PATH="${PWD}/bin:$PATH" \
  bundle exec cucumber --strict
else
  bundle exec cucumber --strict
fi;

Version data entries

13 entries across 12 versions & 4 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/script/test_all
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/rspec-its-1.3.0/script/test_all
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/script/test_all
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/script/test_all
rspec-its-1.3.0 script/test_all