Closed megri closed 5 years ago
It appears that on your machine /tmp
is a symbolic link pointing to /private/tmp
. I will change the tests to use a path within the current working directory instead. This will be more portable.
That's funny, I've never realised MacOS symlinks these directories (it does the same with /etc and /var). That explains why the path-test fails. Perhaps it'd be an alternative to use stuff like java.io.File#createTempFile()
instead of designating "/tmp" by name
Interesting. I was not aware of this either. What does createTempDirectory
return on macOS? I am getting this on Linux:
scala> java.nio.file.Files.createTempDirectory("seed")
res11: java.nio.file.Path = /tmp/seed892158896148301201
Also, as per your suggestion on Gitter, we should not build within the repository such that after running the tests, git status
will not report any new files.
I can't run all tests without getting errors. Seems like some path confusion. For instance, I get
but also a bunch of fails like this one:
I'm guessing this happens due to me running MacOS, but I'm not sure.