Command-line Picture Viewer - noninteractive diff

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andy Stevenson
    Journeyman
    • Nov 2007
    • 11

    Command-line Picture Viewer - noninteractive diff

    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...
  • Tim
    Team Scooter
    • Oct 2007
    • 786

    #2
    Let me know if this works:

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

    Comment

    • Andy Stevenson
      Journeyman
      • Nov 2007
      • 11

      #3
      Hooray. Worked like a charm.
      Thanks!

      Comment

      Working...