Ignore:
Timestamp:
09/13/13 12:59:26 (7 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Added a check for the test script exit code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/testing/unit/tests/test_regression.py

    r11591 r11715  
    5555            self.assertEqual(actual_results, expected_results) 
    5656 
    57  
    5857        self.assertEqual(rv, "ok", "Regression test %s: %s" % (rv, name) \ 
    5958                        if stderr == "" else \ 
    6059                        "Regression test %s: %s\n\n%s" % (rv, name, stderr)) 
     60 
     61        self.assertEqual(p.wait(), 0, 
     62                         "Test script exited with a non zero error code.") 
     63 
    6164        os.chdir(tmpdir) 
    6265 
Note: See TracChangeset for help on using the changeset viewer.