~azzar1/unity/scale-left-padding

« back to all changes in this revision

Viewing changes to tests/autopilot/bin/run_autopilot

  • Committer: Andrea Azzarone
  • Date: 2011-12-19 22:18:53 UTC
  • mfrom: (1792 unity)
  • mto: This revision was merged to the branch mainline in revision 1833.
  • Revision ID: azzaronea@gmail.com-20111219221853-wyy8fqwxk78s85ct
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
 
 
4
from unittest.loader import TestLoader
 
5
from unittest.runner import TextTestRunner
 
6
 
 
7
if __name__ == "__main__":
 
8
        loader = TestLoader()
 
9
        test_suite = loader.discover('autopilot.tests')
 
10
        runner = TextTestRunner()
 
11
        success = runner.run(test_suite).wasSuccessful()
 
12
        if not success:
 
13
                exit(1)