summaryrefslogtreecommitdiff
path: root/test/files/neg/javac-error.flags
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-03-27 16:36:17 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-04-04 10:57:42 -0700
commit0d954431ea8a75abfadbe198232fd39fff3ceeac (patch)
treef4a15ae405c2eec3b500ff2b0905073903f7151e /test/files/neg/javac-error.flags
parentc6ce61796f66770ca1b4d63fc0a569f064436433 (diff)
downloadscala-0d954431ea8a75abfadbe198232fd39fff3ceeac.tar.gz
scala-0d954431ea8a75abfadbe198232fd39fff3ceeac.tar.bz2
scala-0d954431ea8a75abfadbe198232fd39fff3ceeac.zip
SI-6289 Paulptest demonstrating javac errors
This is Paul's test demonstrating that Javac errors are correctly transcribed in the test transcript. A gratuitous Scala class is added to a later round to show that the test halts after the first error. The runner must supply absolute paths to javac so that absolute paths are reported in errors and stripped away by partest. The check file is differentiated for Java 6 and 7, and partest's runner will now post-process the `diff log check` to strip the diff which does not apply.
Diffstat (limited to 'test/files/neg/javac-error.flags')
-rw-r--r--test/files/neg/javac-error.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/neg/javac-error.flags b/test/files/neg/javac-error.flags
new file mode 100644
index 0000000000..85d8eb2ba2
--- /dev/null
+++ b/test/files/neg/javac-error.flags
@@ -0,0 +1 @@
+-Xfatal-warnings