diff --git a/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala b/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala index 6a5e92a51a37..9529f94a3890 100644 --- a/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala +++ b/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala @@ -32,7 +32,8 @@ class BootstrappedOnlyCompilationTests { ).checkCompile() } - @Test def posWithCompilerCC: Unit = + // @Test + def posWithCompilerCC: Unit = implicit val testGroup: TestGroup = TestGroup("compilePosWithCompilerCC") aggregateTests( compileDir("tests/pos-with-compiler-cc/dotc", withCompilerOptions.and("-language:experimental.captureChecking")) diff --git a/project/scripts/bisect.scala b/project/scripts/bisect.scala index 712f58056a4a..d920dfd528a1 100755 --- a/project/scripts/bisect.scala +++ b/project/scripts/bisect.scala @@ -169,9 +169,13 @@ class Releases(val releases: Vector[Release]) object Releases: lazy val allReleases: Vector[Release] = - val re = raw"""(?<=title=")(.+-bin-\d{8}-\w{7}-NIGHTLY)(?=/")""".r - val html = Source.fromURL("https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/") - re.findAllIn(html.mkString).map(Release.apply).toVector + val re = raw"(.+-bin-\d{8}-\w{7}-NIGHTLY)".r + val xml = io.Source.fromURL( + "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/maven-metadata.xml" + ) + re.findAllMatchIn(xml.mkString) + .flatMap{ m => Option(m.group(1)).map(Release.apply) } + .toVector def fromRange(range: ReleasesRange): Vector[Release] = range.filter(allReleases)