Skip to content

Commit f8fb548

Browse files
committed
Skip Java using run test when scalajs
1 parent 0dea6c0 commit f8fb548

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,8 +751,11 @@ trait ParallelTesting extends RunnerOrchestration { self =>
751751
case _ =>
752752
}
753753
case Failure(output) =>
754-
echo(s"Test '${testSource.title}' failed with output:")
755-
echo(output)
754+
if output == "" then
755+
echo(s"Test '${testSource.title}' failed with no output")
756+
else
757+
echo(s"Test '${testSource.title}' failed with output:")
758+
echo(output)
756759
failTestSource(testSource)
757760
case Timeout =>
758761
echo("failed because test " + testSource.title + " timed out")

tests/run/i17021.ext-java/Test.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// scalajs: --skip
12
// Derives from run/i17021.defs
23
// but with a Java protected member
34
// and fixed calling code, that uses super

0 commit comments

Comments
 (0)