diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-06-27 11:22:39 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-06-27 11:26:24 +0200 |
commit | 0c752d7ff85b908b97b1921497dd8b863f8f9693 (patch) | |
tree | aaca275e7a81fbd0659c9694dfee559b53f654bc /test/files/run/t3935.scala | |
parent | d0df4c514f662312e2a9284fef2cf24a284aff28 (diff) | |
download | scala-0c752d7ff85b908b97b1921497dd8b863f8f9693.tar.gz scala-0c752d7ff85b908b97b1921497dd8b863f8f9693.tar.bz2 scala-0c752d7ff85b908b97b1921497dd8b863f8f9693.zip |
Less noise on a partest failure.
Throwing a BuildException is the polite way to fail the Ant build.
Before:
BUILD FAILED
/Users/jason/code/scala2/build.xml:1522: java.lang.RuntimeException: Test suite finished with 1 case failing:
/Users/jason/code/scala2/test/files/pos/lub-dealias-widen.scala [FAILED]
at scala.sys.package$.error(package.scala:27)
[20 lines elided]
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 2 minutes 35 seconds
After:
BUILD FAILED
/Users/jason/code/scala2/build.xml:1522: Test suite finished with 1 case failing:
/Users/jason/code/scala2/test/files/pos/lub-dealias-widen.scala [FAILED]
Total time: 2 minutes 34 seconds
Diffstat (limited to 'test/files/run/t3935.scala')
0 files changed, 0 insertions, 0 deletions