def main(self, argv): try: test_random_cut.main() except StateException, ex: #print ex.message raise
print "=Wiring..." print test_integration.wiring() print "=Injected bug..." try: test_injection.main(True) except StateException, ex: print "Expected exception, Ok." try: test_injection.main(False) #suppress aggresive optimization except StateException, ex: print "Expected exception, Ok." print "=Random part..." try: test_random.main() except StateException, ex: print "Exception is randomly possible" print "=Random part (cut)..." try: test_random_cut.main() except (StateException, AttributeError), ex: print "Exception is randomly possible" print "=Integration Done." return 0