File tree 3 files changed +7
-6
lines changed
linker/jvm/src/test/scala/org/scalajs/linker
partest/src/main/scala/scala/tools/nsc
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ environment:
4
4
global :
5
5
NODEJS_VERSION : " 12"
6
6
JAVA_HOME : C:\Program Files\Java\jdk1.8.0
7
- SCALA_VERSION : 2.12.11
7
+ SCALA_VERSION : 2.12.12
8
8
install :
9
9
- ps : Install-Product node $env:NODEJS_VERSION
10
10
- npm install
@@ -14,7 +14,8 @@ install:
14
14
build : off
15
15
test_script :
16
16
# Very far from testing everything, but at least it is a good sanity check
17
- - cmd : sbt ";clean;++%SCALA_VERSION%;testSuite2_12/test"
17
+ # For slow things (partest and scripted), we execute only one test
18
+ - cmd : sbt ";clean;++%SCALA_VERSION%;testSuite2_12/test;linker2_12/test;partestSuite2_12/testOnly -- --fastOpt run/option-fold.scala;sbtPlugin/scripted settings/module-init"
18
19
cache :
19
20
- C:\sbt
20
21
- C:\Users\appveyor\.ivy2\cache
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class PathOutputDirectoryTest {
36
36
37
37
@ Test
38
38
def avoidUnnecessaryWrite (): AsyncResult = await {
39
- val dir = Jimfs .newFileSystem().getPath(" / tmp" )
39
+ val dir = Jimfs .newFileSystem().getPath(" tmp" ).toAbsolutePath( )
40
40
Files .createDirectory(dir)
41
41
42
42
val fileName = " file.js"
@@ -59,7 +59,7 @@ class PathOutputDirectoryTest {
59
59
60
60
@ Test
61
61
def readFull (): AsyncResult = await {
62
- val dir = Jimfs .newFileSystem().getPath(" / tmp" )
62
+ val dir = Jimfs .newFileSystem().getPath(" tmp" ).toAbsolutePath( )
63
63
Files .createDirectory(dir)
64
64
65
65
val fileName = " file.js"
@@ -82,7 +82,7 @@ class PathOutputDirectoryTest {
82
82
.setAttributeViews(" basic" , " posix" )
83
83
.build()
84
84
85
- val dir = Jimfs .newFileSystem(config).getPath(" /tmp" )
85
+ val dir = Jimfs .newFileSystem(config).getPath(" /tmp" ) // we forced Unix, so /tmp is fine
86
86
Files .createDirectory(dir)
87
87
88
88
val fileName = " file.js"
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class MainGenericRunner {
96
96
val linker = StandardImpl .linker(linkerConfig)
97
97
98
98
val sjsCode = {
99
- val dir = Jimfs .newFileSystem().getPath(" / tmp" )
99
+ val dir = Jimfs .newFileSystem().getPath(" tmp" ).toAbsolutePath( )
100
100
Files .createDirectory(dir)
101
101
102
102
val cache = StandardImpl .irFileCache().newCache
You can’t perform that action at this time.
0 commit comments