Hi Gary,

On Sun, Nov 13, 2022 at 1:07 AM Gary D. Gregory <ggreg...@apache.org> wrote:
>
> I think we need to establish a baseline for testing because it is not clear 
> to me that I am getting valid build and test results with what's in the repos 
> now.
>
> I build xalan-java's xalan-j_2_7_1_maint branch with 'ant fulldist' (the bat 
> files don't work for me and it seems simpler to use Ant directly). I copy the 
> jars per 
> https://gitbox.apache.org/repos/asf?p=xalan-java.git;a=blob_plain;f=README;hb=refs/heads/xalan-j_2_7_1_maint
>  to JARDIR=C:\tmp\xalanj-bcel660. Then I build xalan-test's master branch 
> with 'ant jar' and copy the jar and run 'ant smoketest.xsltc' which gives me:
>
> run.xalantest:
>
> scan:
>      [java] ResultScanner error on: results-accept.xsltc
>      [java] java.io.FileNotFoundException: ResultScanner: resultDir 
> results-accept.xsltc does not exist!
>      [java]     at 
> org.apache.qetest.xsl.ResultScanner.scanResults(ResultScanner.java:67)
>      [java]     at 
> org.apache.qetest.xsl.ResultScanner.main(ResultScanner.java:326)
>
> scan:
>      [java] ResultScanner of smoketest.xsltc complete in: 
> smoketest.xsltc/ResultReport.html
>
> smoketest.xsltc-notpass:
>
> smoketest.xsltc-pass:
>      [echo]  [minitest] CONGRATULATIONS! The Smoketest passed!
>      [echo]  [minitest] Details are in smoketest.xsltc/results-conf.xml, 
> smoketest.xsltc/results-accept.xml
>
> Which seems broken due to the "java.io.FileNotFoundException: ResultScanner: 
> resultDir results-accept.xsltc does not exist!"
>
> That's a broken build right?

You're right.

The command "build smoketest.xsltc", which I think is equivalent to
your command "ant smoketest.xsltc" (when run from, xalan-test repos's
master branch) when run independently, has a somewhat broken build
result that you've pointed.

For now, following can be a workaround of this.

i.e, run the following three commands in a sequence,

build conf.xsltc

build accept.xsltc

build smoketest.xsltc

With this workaround, the command "build smoketest.xsltc" works fine.


-- 
Regards,
Mukul Gandhi

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to