瀏覽代碼

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,8 +192,8 @@ solve_all_exercises() {
192 192
 
193 193
   local xjava=$( pwd )
194 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 197
   local current_exercise_number=1
198 198
   local tempfile="${TMPDIR:-/tmp}/journey-test.sh-unignore_all_tests.txt"
199 199