Skip to content

Commit 7b0a1ee

Browse files
committed
7904068: Update to use JUnit 5.13
Reviewed-by: iris
1 parent 1dbbcb5 commit 7b0a1ee

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

make/build-support/version-numbers

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ DEFAULT_JAVADIFFUTILS_LICENSE_CHECKSUM=7df059597099bb7dcf25d2a9aedfaf4465f72d8d
4848

4949
# for testing
5050
# JUnit 5 = JUnit Platform 1.y.z + JUnit Jupiter 5.y.z + JUnit Vintage 5.y.z
51-
DEFAULT_JUNIT_VERSION=1.9.2
52-
DEFAULT_JUNIT_JAR_CHECKSUM=bb856bc86a6e6cd48080546afcaf7a210713ea21
51+
DEFAULT_JUNIT_VERSION=1.13.4
52+
DEFAULT_JUNIT_JAR_CHECKSUM=62734191af1bfc78ee17181ca38b94dbb5eb7737
5353
DEFAULT_JUNIT_LICENSE_FILE=LICENSE-junit.txt

test/junit/JUnitTests.gmk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ $(BUILDTESTDIR)/JUnitTests.ok: \
4444
$(JAVA) \
4545
$(JUnitTest.add-exports) \
4646
-jar $(JUNIT_JAR) \
47-
-classpath $(JUnitTest.classpath) \
47+
execute \
48+
--class-path $(JUnitTest.classpath) \
4849
--reports-dir=$(@:%.ok=%/report) \
4950
--select-package=apitest \
50-
2>&1 | tee $(@:%.ok=%/log)
51+
--fail-if-no-tests \
52+
2>&1 | tee $(@:%.ok=%/log)
5153
echo $@ passed at `date` > $@
5254

5355
$(BUILDTESTDIR)/JUnitTests.classes.ok: \

0 commit comments

Comments
 (0)