Просмотр исходного кода

Change journey test to allow Ignore annotations to have hints

Frida Johanne Tveit 9 лет назад
Родитель
Сommit
c174f86ac7
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      bin/journey-test.sh

+ 1
- 1
bin/journey-test.sh Просмотреть файл

230
     gradle compileTestJava
230
     gradle compileTestJava
231
     # Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
231
     # Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
232
     for testfile in `find . -name "*Test.java"`; do
232
     for testfile in `find . -name "*Test.java"`; do
233
-      sed 's/@Ignore//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
233
+      sed 's/@Ignore\(.*\)//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
234
     done
234
     done
235
     gradle test
235
     gradle test
236
     popd
236
     popd