Skip to content

Commit 8adc33e

Browse files
committed
Run compilation tests with -Xverify-signatures
1 parent 3f4be93 commit 8adc33e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class CompilationTests extends ParallelTesting {
195195
// Generic java signatures tests ---------------------------------------------
196196

197197
@Test def genericJavaSignatures: Unit = {
198-
compileFilesInDir("../tests/generic-java-signatures", checkGenericJavaSignaturesOptions)
198+
compileFilesInDir("../tests/generic-java-signatures", defaultOptions)
199199
}.checkRuns()
200200

201201
// Pickling Tests ------------------------------------------------------------

compiler/test/dotty/tools/vulpix/TestConfiguration.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ object TestConfiguration {
1212
val checkOptions = Array(
1313
"-Yno-deep-subtypes",
1414
"-Yno-double-bindings",
15-
"-Yforce-sbt-phases"
15+
"-Yforce-sbt-phases",
16+
"-Xverify-signatures"
1617
)
1718

1819
val classPath = mkClassPath(Jars.dottyTestDeps)
@@ -58,5 +59,4 @@ object TestConfiguration {
5859
val scala2Mode = defaultOptions and "-language:Scala2"
5960
val explicitUTF8 = defaultOptions and ("-encoding", "UTF8")
6061
val explicitUTF16 = defaultOptions and ("-encoding", "UTF16")
61-
val checkGenericJavaSignaturesOptions = defaultOptions and "-Xverify-signatures"
6262
}

0 commit comments

Comments
 (0)