|
|
|
|
|
|
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
|
+ # Strip @Ignore annotations to ensure we run the tests (as delivered, all but the first is @Ignore'd).
|
|
|
|
240
|
+ # Note that unit-test.sh also strips @Ignore annotations via the Gradle task copyTestsFilteringIgnores.
|
|
|
|
241
|
+ # The stripping implementations here and in copyTestsFilteringIgnores should be kept consistent.
|
|
239
|
sed 's/@Ignore\(\(.*\)\)\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
|
242
|
sed 's/@Ignore\(\(.*\)\)\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
|
|
240
|
done
|
243
|
done
|
|
241
|
"$EXECPATH"/gradlew test
|
244
|
"$EXECPATH"/gradlew test
|