PDA

View Full Version : Command-line Picture Viewer - noninteractive diff


Andy Stevenson
16-Nov-2007, 09:04 AM
We're trying to use the Picture Viewer to check the output of an automated unit test.
However, it always pops up a viewer.

This is one of the command-lines we've tried:

"D:\Program Files (x86)\Cirrus\Cirrus.exe" ScreenShots\Golden\Screen1.png ScreenShots\Current\Screen1.png /solo /automerge

We added /automerge in the hopes that the viewer would check the image and return a status code. What we really wanted was a /silent or /noninteractive option so the diff (not merge) would run and never block expecting user input.

Any suggestions? This is a "nice-to-have" not a "must have", so I wouldn't want to impede progress on the release... but if it's low-hanging fruit...:rolleyes:

Tim
16-Nov-2007, 11:54 AM
Let me know if this works:

"D:\Program Files (x86)\Cirrus\Cirrus.exe" ScreenShots\Golden\Screen1.png
ScreenShots\Current\Screen1.png /quickcompare

Andy Stevenson
19-Nov-2007, 10:27 AM
Hooray. Worked like a charm.
Thanks!