Announcement

Collapse
No announcement yet.

Sequential tests

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sequential tests

    This is probably a very simple problem, but I'm trying to make it as simple as possible.

    I want burnin to run a second config once the first has passed.

    e.g.
    Run Hard.bitcfg,
    then if it passes, Run 24hr.bitcfg

    I'm currently launching from a .bat file with the command:
    Start C:\Burnin\Bit.exe -r -c C:\Burnin\configs\Hard.bitcfg

    What is the simplest way to do this?

    Tim


  • #2
    You can start BurnInTest running a script instead e.g.:
    C:\Burnin\Bit.exe -S script.bits

    And within the script to run one config after another:

    LOAD “C:\Burnin\configs\Hard.bitcfg"
    RUN CONFIG
    LOAD “C:\Burnin\configs\24hr.bitcfg"
    RUN CONFIG
    EXIT

    Further scripting information can be found in the help file > Testing Automation and productivity > Scripting a series of tests


    EDIT: for running 2nd config if 1st passes, you would need a bat file that launches BurnInTest with a script that loads the config and then after it finishes checks the errorlevel and launch the next config.

    In a batch file:
    "C:\Program Files\BurnInTest\bit.exe" -S "script.bits"
    if %ERRORLEVEL% EQU 0 "C:\Program Files\BurnInTest\bit.exe" -r -c C:\Burnin\configs\24hr.bitcfg

    script.bits:
    LOAD “C:\Burnin\configs\Hard.bitcfg"
    RUN CONFIG
    EXIT

    Comment

    Working...
    X