Skip to content

Commit d75092c

Browse files
committed
Move REPL test involving a macro
Like explained in the previous commit this kind of tests should be bootstrapped-only.
1 parent 36d422d commit d75092c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

compiler/test/dotty/tools/repl/ScriptedTests.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
package dotty.tools
1+
package dotty
2+
package tools
23
package repl
34

45
import java.io.{File => JFile}
56
import java.lang.System.{lineSeparator => EOL}
67

78
import org.junit.Assert._
89
import org.junit.Test
10+
import org.junit.experimental.categories.Category
911

1012
import scala.collection.mutable.ArrayBuffer
1113
import scala.io.Source
@@ -91,4 +93,7 @@ class ScriptedTests extends ReplTest with MessageRendering {
9193
@Test def replTests = scripts("/repl").foreach(testFile)
9294

9395
@Test def typePrinterTests = scripts("/type-printer").foreach(testFile)
96+
97+
@Category(Array(classOf[BootstrappedOnlyTests]))
98+
@Test def replMacrosTests = scripts("/repl-macros").foreach(testFile)
9499
}

0 commit comments

Comments
 (0)