This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,17 @@ function run_specs_and_record_done {
4343}
4444
4545function run_cukes {
46+ echo ' 0'
4647 if [ -d features ]; then
48+ echo ' 1'
49+ echo $( ruby -e " exit(RUBY_VERSION.to_f >= 2.5)" )
50+
4751 if is_ruby_25_plus; then
4852 echo " ${PWD} /bin/cucumber"
4953
5054 if is_jruby; then
55+ echo ' jruby'
56+
5157 # force jRuby to use client mode JVM or a compilation mode thats as close as possible,
5258 # idea taken from https://github.com/jruby/jruby/wiki/Improving-startup-time
5359 #
@@ -56,15 +62,17 @@ function run_cukes {
5662 export JAVA_OPTS=' -client -XX:+TieredCompilation -XX:TieredStopAtLevel=1'
5763
5864 # For some reason JRuby doesn't like our improved bundler setup
59- RUBYOPT=" -I${PWD} /../bundle -rbundler/setup" \
60- PATH=" ${PWD} /bin:$PATH " \
61- bin/cucumber --strict
65+ # RUBYOPT="-I${PWD}/../bundle -rbundler/setup" \
66+ # PATH="${PWD}/bin:$PATH" \
67+ # bin/cucumber --strict
6268 else
69+ echo ' mri'
70+
6371 # Prepare RUBYOPT for scenarios that are shelling out to ruby,
6472 # and PATH for those that are using `rspec` or `rake`.
65- RUBYOPT=" ${RUBYOPT} -I${PWD} /../bundle -rbundler/setup" \
66- PATH=" ${PWD} /bin:$PATH " \
67- bin/cucumber --strict
73+ # RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \
74+ # PATH="${PWD}/bin:$PATH" \
75+ # bin/cucumber --strict
6876 fi
6977 else
7078 echo " skipping features"
You can’t perform that action at this time.
0 commit comments