Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit 4e3b262

Browse files
committed
Expose partest.comp property to tests
1 parent 9cb07b4 commit 4e3b262

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ System properties available to tests:
4646
- `partest.output`: output directory (where classfiles go)
4747
- `partest.lib`: the path of the library (jar or class dir) being tested
4848
- `partest.reflect`: the path of scala-reflect (jar or class dir) being tested
49+
- `partest.comp`: the path of the compiler (jar or class dir) being tested
4950
- `partest.cwd`: partest working dir
5051
- `partest.test-path`
5152
- `partest.testname`

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name := "scala-partest"
66

77
version := "1.0.3-SNAPSHOT"
88

9-
scalaVersion := "2.11.4"
9+
scalaVersion := "2.11.5"
1010

1111
scalaXmlVersion := "1.0.3"
1212

src/main/scala/scala/tools/partest/nest/Runner.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ class Runner(val testFile: File, val suiteRunner: SuiteRunner) {
159159
"-Dpartest.output="+outDir.getAbsolutePath,
160160
"-Dpartest.lib="+libraryUnderTest.getAbsolutePath,
161161
"-Dpartest.reflect="+reflectUnderTest.getAbsolutePath,
162+
"-Dpartest.comp="+compilerUnderTest.getAbsolutePath,
162163
"-Dpartest.cwd="+outDir.getParent,
163164
"-Dpartest.test-path="+testFullPath,
164165
"-Dpartest.testname="+fileBase,

0 commit comments

Comments
 (0)