Skip to content

Commit 73ea385

Browse files
Merge pull request #3822 from dotty-staging/run-with-compiler-tests
Create tests/run-with-compiler
2 parents 0266c2c + 6381041 commit 73ea385

12 files changed

+2
-6
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,7 @@ class CompilationTests extends ParallelTesting {
199199
implicit val testGroup: TestGroup = TestGroup("runAll")
200200
compileFilesInDir("../tests/run", defaultOptions) +
201201
compileFilesInDir("../tests/run-no-optimise", defaultOptions) +
202-
compileFile("../tests/run-special/quote-run-constants.scala", defaultRunWithCompilerOptions) +
203-
compileFile("../tests/run-special/quote-run.scala", defaultRunWithCompilerOptions) +
204-
compileFile("../tests/run-special/quote-run-2.scala", defaultRunWithCompilerOptions) +
205-
compileFile("../tests/run-special/quote-run-large.scala", defaultRunWithCompilerOptions) +
206-
compileFile("../tests/run-special/quote-run-staged-interpreter.scala", defaultRunWithCompilerOptions)
202+
compileFilesInDir("../tests/run-with-compiler", defaultRunWithCompilerOptions)
207203
}.checkRuns()
208204

209205
// Generic java signatures tests ---------------------------------------------

project/scripts/sbtTests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ else
5858
fi
5959

6060
echo "testing scala.quoted.Expr.run from sbt dotr"
61-
./project/scripts/sbt ";dotc -classpath compiler/target/scala-2.12/classes tests/run-special/quote-run.scala; dotr -with-compiler Test" > sbtdot5.out
61+
./project/scripts/sbt ";dotc -classpath compiler/target/scala-2.12/classes tests/run-with-compiler/quote-run.scala; dotr -with-compiler Test" > sbtdot5.out
6262
cat sbtdot5.out
6363
if grep -e "val a: Int = 3" sbtdot5.out; then
6464
echo "output ok"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)