Browse Source

Beanshell and Apache BSF don't like each other. As the test is going

to use Javascript anyway, the check whether scripting is available
should do so, too.  In particular, the test will now checke whether
Rhino is there, which the old test didn't.

Remove excess logging that lead me to think the test was failing
instead of skipped.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274462 13f79535-47bb-0310-9956-ffa450edef68
remotes/1776816827838153613/tmp_25f451bd36ab3145e487fcb2cd5c62c571e5b602
Stefan Bodewig 23 years ago
parent
commit
7e87d0f971
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      src/etc/testcases/filters/tokenfilter.xml
  2. +0
    -1
      src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java

+ 1
- 1
src/etc/testcases/filters/tokenfilter.xml View File

@@ -297,7 +297,7 @@
</target>

<target name="hasscript">
<script language="beanshell">
<script language="javascript">
i = 1;
</script>
</target>


+ 0
- 1
src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java View File

@@ -238,7 +238,6 @@ public class TokenFilterTest extends BuildFileTest {
catch (Throwable ex) {
System.out.println(
test + ": skipped - script not present ");
ex.printStackTrace(System.out);
return false;
}
return true;


Loading…
Cancel
Save