Don't create a compare report if no difference

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anonyme1
    Visitor
    • Jan 2017
    • 3

    Don't create a compare report if no difference

    Hello,

    Is it possible to not create a report if there is no difference in a folder-report ?

    My script works correctly every day but I don't want to create it if there is no difference.

    Is there an option for this ?

    Here is my script :

    Code:
    C:\Users\*****\Desktop\Beyond~1\BCompare @"%scriptDir%\CompareScriptv3.txt" "%myBenchmark%" "%dir2%" "%rightNow%" /silent
    Code:
    log verbose append:"%3.log"
    load "%1" "%2"
    expand all
    select all.files
    filter "Ima*.txt;*typ.*;*tra.*"
    criteria rules-based
    folder-report layout:side-by-side &
     options:display-mismatches,include-file-links &
     output-to:"Compare\BCReport_%3.html" output-options:html-color,wrap-word


    Thanks !
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Sorry, there isn't an option to avoid creating a report if there are no differences. It's on the feature request list for a future version.
    Chris K Scooter Software

    Comment

    • Anonyme1
      Visitor
      • Jan 2017
      • 3

      #3
      No problem, thank you for your response. I just modify my script to check if there is a file in the BcFiles folder and it works.

      Thanks!

      Comment

      Working...