aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-11-23 16:59:54 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-11-23 18:08:54 +0100
commitede2d531f0df401e7dd73e6c3d9c9fe5f4702d4b (patch)
treeb7c87c00e208077ff8eb1d5b93e634118186f1c3 /compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala
parent6700dbd6b4e6d809891840201df16b7fd2eaf625 (diff)
downloaddotty-ede2d531f0df401e7dd73e6c3d9c9fe5f4702d4b.tar.gz
dotty-ede2d531f0df401e7dd73e6c3d9c9fe5f4702d4b.tar.bz2
dotty-ede2d531f0df401e7dd73e6c3d9c9fe5f4702d4b.zip
Get rid off custom classpath in entry point tests
Diffstat (limited to 'compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala')
-rw-r--r--compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala10
1 files changed, 1 insertions, 9 deletions
diff --git a/compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala b/compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala
index 7589e6f3b..e27b0f7b8 100644
--- a/compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala
+++ b/compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala
@@ -21,15 +21,7 @@ class InterfaceEntryPointTest {
@Test def runCompilerFromInterface = {
val sources =
List("../tests/pos/HelloWorld.scala").map(p => new java.io.File(p).getPath())
- val dottyInterfaces =
- new java.io.File(Jars.dottyInterfaces).getPath
- val dottyLibrary =
- new java.io.File(Jars.dottyLib).getPath
-
- val args =
- sources ++
- List("-d", "../out/") ++
- List("-classpath", dottyInterfaces + ":" + dottyLibrary)
+ val args = sources ++ List("-d", "../out/", "-usejavacp")
val mainClass = Class.forName("dotty.tools.dotc.Main")
val process = mainClass.getMethod("process",