#29 autorun exit not beeing given correct value

closed-fixed
Perrick Penet
None
5
2010-07-27
2009-05-15
Dominic Clifton
No

there's a missing return statement in autorun.php which results in the exit code being set incorrectly. it's supposed to set the exit to 1 or 0 if the tests fail or pass (respectively) but this doesn't happen as $result in run_local_rests() is never returned to simpletest_autorun()

Discussion

  • note: this prevents continuous integration systems (such as cruise control) from determining whether the suite of tests ran without errors (unless the more complex scenario of inspecting the reports is used)

     
  • Perrick Penet
    Perrick Penet
    2010-07-27

    • assigned_to: nobody --> pp11
    • status: open --> closed-fixed
     
  • Perrick Penet
    Perrick Penet
    2010-07-27

    A fix has already been applied to trunk. Thank your for the report.

    Yours,
    Perrick