Skip to content

Commit 6feb022

Browse files
authored
fix: do not run repl test on windows (scala#22693)
[test_windows_full] Closes scala#22686, scala#22689
2 parents e592b37 + 0d6164b commit 6feb022

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/test/dotty/tools/scripting/BashExitCodeTests.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ class BashExitCodeTests:
7373
@Test def xPluginList = scala("-Xplugin-list")(0)
7474
@Test def vPhases = scala("-Vphases")(0)
7575

76-
@Test def replEval = repl("--repl-quit-after-init", "--repl-init-script", "\'println(\"Hello from init script!\"); val i = 2 * 2\'")(0)
76+
@Test def replEval =
77+
// Do not run this test on Windows since it is wrongly escaped (#22689)
78+
assumeFalse(System.getProperty("os.name").startsWith("Windows"));
79+
repl("--repl-quit-after-init", "--repl-init-script", "\'println(\"Hello from init script!\"); val i = 2 * 2\'")(0)
7780

7881
/** A utility for running two commands in a row, like you do in bash. */
7982
extension (inline u1: Unit) inline def & (inline u2: Unit): Unit = { u1; u2 }

0 commit comments

Comments
 (0)