Преглед изворни кода

Issue #154: made bin/journey-test.sh iterate over exercises instead of problems.

Frida Tveit пре 9 година
родитељ
комит
213824054f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      bin/journey-test.sh

+ 2
- 2
bin/journey-test.sh Прегледај датотеку

192
 
192
 
193
   local xjava=$( pwd )
193
   local xjava=$( pwd )
194
   local exercism_cli="./exercism --config ${exercism_configfile}"
194
   local exercism_cli="./exercism --config ${exercism_configfile}"
195
-  local exercises=`cat config.json | jq '.problems []' --raw-output`
196
-  local total_exercises=`cat config.json | jq '.problems | length'`
195
+  local exercises=`cat config.json | jq '.exercises[].slug' --raw-output`
196
+  local total_exercises=`cat config.json | jq '.exercises | length'`
197
   local current_exercise_number=1
197
   local current_exercise_number=1
198
   local tempfile="${TMPDIR:-/tmp}/journey-test.sh-unignore_all_tests.txt"
198
   local tempfile="${TMPDIR:-/tmp}/journey-test.sh-unignore_all_tests.txt"
199
 
199