https://issues.apache.org/bugzilla/show_bug.cgi?id=41400
--- Comment #9 from Markus Kahl <[email protected]> 2010-01-17 08:50:31 UTC --- I now managed to run the tests on a linux machine. On windows dozens of tests failed because some files could not be deleted or something. Anyway, in revision 900143 the propertyhelper-tests does not fail. Actually my patch does not break any tests anymore. The same tests failed before and after my patch. Now given the following file: <project name="Macros" default="testBug" basedir="." xmlns:au="antlib:org.apache.ant.antunit"> <property name="one" value="1"/> <property name="prop" value="$${one}"/> <macrodef name="echotest"> <attribute name="message" /> <sequential> <echo message="@{message}" /> </sequential> </macrodef> <target name="testBug"> <echo message="$${builddir}" /> <echotest message="$${builddir}"/> <au:assertPropertyEquals name="prop" value="1"/> </target> </project> After the patch I get the following output: mar...@bunker-12:~$ ant -f macros.xml Buildfile: /home/markus/macros.xml testBug: [echo] ${builddir} [echo] ${builddir} BUILD FAILED /home/markus/macros.xml:16: Expected property 'prop' to have value '1' but was '${one}' What puzzles me is that the output from testBug is also correct without my patch. It wasn't earlier (bug #42046), though. I wonder if it only works because of a 'workaround' or 'by accident'. I got to take a look into the source of AntUnit, I thought au:assertPropertyEquals was also simply a macrodef. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
