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

journey test: fix not unignoring tests with ignore comments

Reference: https://stackoverflow.com/a/11651184/2911458
Stuart Kent 9 лет назад
Родитель
Сommit
f5ddc70fed
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      bin/journey-test.sh

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

236
     "$EXECPATH"/gradlew compileTestJava
236
     "$EXECPATH"/gradlew compileTestJava
237
     # Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
237
     # Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
238
     for testfile in `find . -name "*Test.${TRACK_SRC_EXT}"`; do
238
     for testfile in `find . -name "*Test.${TRACK_SRC_EXT}"`; do
239
-      sed 's/@Ignore(\(.*\))\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
239
+      sed 's/@Ignore\(\(.*\)\)\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
240
     done
240
     done
241
     "$EXECPATH"/gradlew test
241
     "$EXECPATH"/gradlew test
242
     popd
242
     popd