adding zephyr-im master branch
This commit is contained in:
12
lib/zephyr_run_doctests
Executable file
12
lib/zephyr_run_doctests
Executable file
@ -0,0 +1,12 @@
|
||||
#!/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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user