miniboxing-plugin
miniboxing-plugin copied to clipboard
"sbt compile package test" doesn't work with spaces in pathname
The command sbt compile package test
fails every test if the path name contains any space character.
I tried to follow the guide install the project from the wiki. At the compiling step, if I launch the command sbt compile package test
from a pathname that contains spaces (for instance /home/user/pathname with spaces/miniboxing-plugin), all the tests that follow the command fail.
Example output :
[...]
Picking tests from: /home/user/pathname with spaces/miniboxing-plugin/tests/correctness/src/miniboxing/tests/compile
Compiling gh-bug-1.scala ... [FAIL]
Diff:
--- output
+++ expected
@@ -1,1 +1,2 @@
-
+Warning: could not load descriptor for plugin /home/user/pathname
+error: bad option: -P:minibox:spec-no-opt
Compiling gh-bug-11.scala ... [FAIL]
Diff:
--- output
+++ expected
@@ -1,1 +1,2 @@
-
+Warning: could not load descriptor for plugin /home/user/pathname
+error: bad option: -P:minibox:spec-no-opt
[...]
Originally, it was the mb-scalac that didn't work, but I couldn't reproduce the bug.
Thanks @MelodyLucid! I will try the plugin with spaces in the path.