git @ Cat's Eye Technologies yucca / 2ad8402
Give feedback when running internal tests. catseye 12 years ago
1 changed file(s) with 6 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
602602
603603 if options.test:
604604 import doctest
605 doctest.testmod()
606 sys.exit(0)
605 (fails, something) = doctest.testmod()
606 if fails == 0:
607 print "All tests passed."
608 sys.exit(0)
609 else:
610 sys.exit(1)
607611
608612 p = BasicProgram()
609613 text_file_line = 1