File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
compiler/test/dotty/tools/scripting Expand file tree Collapse file tree 2 files changed +14
-1
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,19 @@ class ClasspathTests:
6868 case None => sys.error(s " test script not found: ${testScriptName}" )
6969 case Some (file) => file
7070
71+ println(cwd)
72+ println(testScript.toPath)
73+ println(testScript.toPath.relpath)
74+ println(testScript.toPath.relpath.norm)
75+
76+ val cmd1 = Array (bashExe, " -c" , " pwd" )
77+ val scriptOutput1 = exec(cmd1:_* )
78+ println(scriptOutput1)
79+
80+ val cmd2 = Array (bashExe, " -c" , " ls" )
81+ val scriptOutput2 = exec(cmd2:_* )
82+ println(scriptOutput2)
83+
7184 val relpath = testScript.toPath.relpath.norm
7285 printf(" ===> unglobClasspathVerifyTest for script [%s]\n " , relpath)
7386 printf(" bash is [%s]\n " , bashExe)
You can’t perform that action at this time.
0 commit comments