diff options
Diffstat (limited to 'test/disabled/neg/plugin-rafter-before-1/misc')
-rwxr-xr-x | test/disabled/neg/plugin-rafter-before-1/misc/build.sh | 14 | ||||
-rw-r--r-- | test/disabled/neg/plugin-rafter-before-1/misc/scalac-plugin.xml | 6 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/disabled/neg/plugin-rafter-before-1/misc/build.sh b/test/disabled/neg/plugin-rafter-before-1/misc/build.sh new file mode 100755 index 0000000000..8899009d7f --- /dev/null +++ b/test/disabled/neg/plugin-rafter-before-1/misc/build.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +SCALAC="../../../../build/pack/bin/scalac -deprecation -cp ../../../../build/quick/classes/compiler/" + +BASE=`pwd` + +if [[ -d "${BASE}/src" ]] ; then + + mkdir -p build + ${SCALAC} -d build src/*.scala + jar cf lib/plugins.jar -C misc/ scalac-plugin.xml -C build . + rm -rf build +fi + diff --git a/test/disabled/neg/plugin-rafter-before-1/misc/scalac-plugin.xml b/test/disabled/neg/plugin-rafter-before-1/misc/scalac-plugin.xml new file mode 100644 index 0000000000..58fff40950 --- /dev/null +++ b/test/disabled/neg/plugin-rafter-before-1/misc/scalac-plugin.xml @@ -0,0 +1,6 @@ +<!-- $Id$ --> +<plugin> + <name>beforeparser</name> + <classname>scala.test.plugins.ThePlugin</classname> +</plugin> + |