Skip to content

Commit 49f7c77

Browse files
smarterOlivierBlanvillain
authored andcommitted
Make InterfaceEntryPointTest a bootstrapped-only test
This test runs the compiler using -usejavacp which doesn't really work when a non-bootstrapped Dotty is on the classpath.
1 parent 02af1d8 commit 49f7c77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package tools.dotc
33

44
import org.junit.Test
55
import org.junit.Assert._
6+
import org.junit.experimental.categories.Category
67
import interfaces._
78
import scala.collection.mutable.ListBuffer
89
import java.nio.file._
@@ -18,6 +19,7 @@ import java.nio.file._
1819
*
1920
* @see [[OtherEntryPointsTest]]
2021
*/
22+
@Category(Array(classOf[BootstrappedOnlyTests]))
2123
class InterfaceEntryPointTest {
2224
@Test def runCompilerFromInterface = {
2325
val sources =

0 commit comments

Comments
 (0)