Using compare.sh ?

Erik Joelsson erik.joelsson at oracle.com
Wed Nov 21 02:16:09 PST 2012


I will try to improve the help output from script and detecting of bad 
input.

The way it's currently implemented, it compares a "build" and not just 
an image. -o is supposed to point to the root of a build output. The 
usecase of comparing just the j2sdk image was dropped. I wanted to check 
both the jre and sdk images, and am now also adding comparison of docs.

The intended way of calling the script for what I think you are trying 
to do would be:

/java/embedded/users/dh198349/profiles/builds/b65/se-linux-i586-ea> bash 
compare.sh -all -vv -o 
/scratch/dh198349/profiles-ref/builds/b60/se-linux-i586-ea

/Erik

On 2012-11-21 10:54, David Holmes wrote:
> I found compareimages.sh extremely simple to use and very useful. Now 
> we have a compare.sh in the "config" directory which I assume I run 
> from the "root" of the image I want to compare, with -o pointing to 
> the other image. But something doesn't seem right:
>
> > 
> /java/embedded/users/dh198349/profiles/builds/b65/se-linux-i586-ea/images/j2sdk-image 
> > bash ../../compare.sh -all -vv -o 
> /scratch/dh198349/profiles-ref/builds/b60/se-linux-i586-ea/images/j2sdk-image/
> /java/embedded/users/dh198349/profiles/builds/b65/se-linux-i586-ea
> Comparing to:
> /scratch/dh198349/profiles-ref/builds/b60/se-linux-i586-ea/images/j2sdk-image 
>
>
>
> No regressions found
>
> -- 
>
> Apart from expecting regressions, I also specified -vv but there's no 
> output. ??
>
> David
>
> PS. The "example" from compare.sh usage message still refers to the 
> now non-existent common/bin/compareimages.sh
>
> Thanks,
> David



More information about the build-infra-dev mailing list