File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
compiler/test/dotty/tools/scripting Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ jobs:
181181 uses : actions/checkout@v2
182182
183183 - name : Test
184- run : sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test"
184+ run : sbt ";dist/pack ; scala3-bootstrapped/compile ;scala3-bootstrapped/test"
185185 shell : cmd
186186
187187 - name : Scala.js Test
Original file line number Diff line number Diff line change @@ -68,6 +68,21 @@ class ClasspathTests:
6868 case None => sys.error(s " test script not found: ${testScriptName}" )
6969 case Some (file) => file
7070
71+ println(Paths .get(" ." ).toAbsolutePath)
72+ println(Paths .get(" ." ).toAbsolutePath.normalize)
73+ println(Paths .get(" ." ).normalize.toAbsolutePath)
74+ println(testScript.toPath)
75+ println(testScript.toPath.relpath)
76+ println(testScript.toPath.relpath.norm)
77+
78+ val cmd1 = Array (bashExe, " -c" , " pwd" )
79+ val scriptOutput1 = exec(cmd1:_* )
80+ println(scriptOutput1)
81+
82+ val cmd2 = Array (bashExe, " -c" , " ls" )
83+ val scriptOutput2 = exec(cmd2:_* )
84+ println(scriptOutput2)
85+
7186 val relpath = testScript.toPath.relpath.norm
7287 printf(" ===> unglobClasspathVerifyTest for script [%s]\n " , relpath)
7388 printf(" bash is [%s]\n " , bashExe)
@@ -88,7 +103,7 @@ class ClasspathTests:
88103
89104
90105// ////////////// end of tests ////////////////
91- lazy val cwd = Paths .get(" ." ).toAbsolutePath
106+ lazy val cwd = Paths .get(" ." ).toAbsolutePath.normalize
92107lazy val wildcardEntry = " dist/target/pack/lib/*"
93108
94109def listJars (dir : String ) =
You can’t perform that action at this time.
0 commit comments