summaryrefslogtreecommitdiff
path: root/lib/zephyr_run_doctests
blob: 6bcb2cb3949485f57642942dfc3f153d15cfc863 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)