Re: Updating master output

Hmm that should do it. You can try removing the output .xml files
first to see if they are even regenerated. No exceptions right? This
is how I do it.

I can add an optional test number to the command line, sure. Same with Tester.

Sean

On 10/23/07, Dominique Hazael-Massieux <dom@w3.org> wrote:
> Hi Sean,
>
> I've tried to use your utility to update the reference output of the
> test cases that needed it, but I'm not having any success - I'm probably
> missing something.
>
> I run the following command:
> java -cp .:lib/annotations-api.jar:lib/batik-css.jar:lib/batik-util.jar:lib/catalina.jar:lib/commons-cli-1.0.jar:lib/commons-codec-1.3.jar:lib/commons-httpclient-3.1.jar:lib/commons-logging-1.1.jar:lib/css-validator.jar:lib/jhove-handler.jar:lib/jhove.jar:lib/jhove-module.jar:lib/junit.jar:lib/resolver.jar:lib/sac.jar:lib/saxon8-dom.jar:lib/saxon8.jar:lib/saxon8-xom.jar:lib/saxon8-xpath.jar:lib/saxon8-xqj.jar:lib/servlet-api.jar:lib/tagsoup-1.1.jar:lib/tomcat-coyote.jar:lib/tomcat-juli.jar:build:build-test org.w3c.mwi.mobileok.basic.CreateMasterTestOutput CHARACTER_ENCODING_SUPPORT
>
> and I do get the following output:
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/9
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/7
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/3
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/4
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/5
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/8
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/2
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/6
> STARTING: CHARACTER_ENCODING_SUPPORT/test/data/ROOT/CharacterEncodingSupportTest/1
>
> but then the files in test/data/ROOT/CharacterEncodingSupportTest aren't
> modified, nor do I find any new file created anywhere.
>
> What am I doing wrong?
>
> Also, it would be convenient if one could update the reference output
> for one single test case - my impression is that at this time you can
> only update the whole set in the batch.
>
> Dom
>
>
>

Received on Tuesday, 23 October 2007 14:30:00 UTC