Skip to content

Commit f64762b

Browse files
committed
Removing pickle tests because directory doesn't exist anymore.
1 parent ef22b1d commit f64762b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

project/Build.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ object DottyBuild extends Build {
167167

168168
// Partest tasks
169169
lazy val lockPartestFile = TaskKey[Unit]("lockPartestFile", "Creates the lock file at ./tests/locks/partest-<pid>.lock")
170-
val partestLockFile = new File("." + File.separator + "tests" + File.separator + "locks" + File.separator + s"partest-$pid.lock")
171-
val pid = java.lang.Long.parseLong(java.lang.management.ManagementFactory.getRuntimeMXBean().getName().split("@")(0))
170+
lazy val partestLockFile = new File("." + File.separator + "tests" + File.separator + "locks" + File.separator + s"partest-$pid.lock")
171+
def pid = java.lang.Long.parseLong(java.lang.management.ManagementFactory.getRuntimeMXBean().getName().split("@")(0))
172172

173173
lazy val runPartestRunner = TaskKey[Unit]("runPartestRunner", "Runs partest")
174174

test/dotc/tests.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class tests extends CompilerTest {
4545
val coreDir = dotcDir + "core/"
4646

4747
@Test def pickle_pickleOK = compileDir(testsDir, "pickling", testPickling)
48-
@Test def pickle_pickling = compileDir(coreDir, "pickling", testPickling)
48+
// This directory doesn't exist anymore
49+
// @Test def pickle_pickling = compileDir(coreDir, "pickling", testPickling)
4950
@Test def pickle_ast = compileDir(dotcDir, "ast", testPickling)
5051

5152
//@Test def pickle_core = compileDir(dotcDir, "core", testPickling, xerrors = 2) // two spurious comparison errors in Types and TypeOps
@@ -148,8 +149,8 @@ class tests extends CompilerTest {
148149
@Test def dotc_config = compileDir(dotcDir, "config")
149150
@Test def dotc_core = compileDir(dotcDir, "core")("-Yno-double-bindings" :: allowDeepSubtypes)// twice omitted to make tests run faster
150151

151-
152-
@Test def dotc_core_pickling = compileDir(coreDir, "pickling")(allowDeepSubtypes)// twice omitted to make tests run faster
152+
// This directory doesn't exist anymore
153+
// @Test def dotc_core_pickling = compileDir(coreDir, "pickling")(allowDeepSubtypes)// twice omitted to make tests run faster
153154

154155
@Test def dotc_transform = compileDir(dotcDir, "transform")// twice omitted to make tests run faster
155156

0 commit comments

Comments
 (0)