summaryrefslogtreecommitdiff
path: root/test/files/run/t7337.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-04-06 16:44:39 +0200
committerJason Zaugg <jzaugg@gmail.com>2013-04-06 16:46:18 +0200
commitf93c4c906994d17cd62083d1431dca35f7da74bf (patch)
treed095a02396bb1cb841e6b8aea55033620f5dde0a /test/files/run/t7337.check
parentc57c4f8c6227cff8ff9c1392428f97f036a34f2c (diff)
downloadscala-f93c4c906994d17cd62083d1431dca35f7da74bf.tar.gz
scala-f93c4c906994d17cd62083d1431dca35f7da74bf.tar.bz2
scala-f93c4c906994d17cd62083d1431dca35f7da74bf.zip
SI-7337 Error out on missing -d directory.
This check was removed without comment in 3a30af154, the addition of JSR-223 support for the interpreter. After this commit, I manually tested that JSR-223 support works. scala> import javax.script._, collection.JavaConverters._; val manager = new ScriptEngineManager; manager.getEngineByName("scala").eval("List(1)") import javax.script._ import collection.JavaConverters._ manager: javax.script.ScriptEngineManager = javax.script.ScriptEngineManager@4418f61b res1: Object = List(1) 3a30af154 did not include a test case, so I don't know whether I've broken some other aspect of it. I tried the above as a `run` test, but hit two problems, one of them seemingly our fault, and the other a MacOS JDK wrinkle. 1. scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found. 2. java.lang.UnsatisfiedLinkError: no AppleScriptEngine in java.library.path I can't find my way to fix these, so JSR-223 remains untested. I don't think that commit was really up to standard; it could handle additional review, documentation, and testing. It might even be modularized so as not to pollute the REPL itself.
Diffstat (limited to 'test/files/run/t7337.check')
-rw-r--r--test/files/run/t7337.check1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/t7337.check b/test/files/run/t7337.check
new file mode 100644
index 0000000000..dd2b31f23c
--- /dev/null
+++ b/test/files/run/t7337.check
@@ -0,0 +1 @@
+doesnotexist does not exist or is not a directory