13 lines
179 B
Python
Executable File
13 lines
179 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
import sys, doctest
|
|
|
|
failures, tests = doctest.testfile("zephyr_tests.txt")
|
|
|
|
print failures, 'failures out of', tests, 'tests.'
|
|
if failures:
|
|
sys.exit(1)
|
|
|
|
|
|
|