diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2020-01-21 17:32:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-21 17:32:59 +0100 |
| commit | 42440fcfa68efc66df6d90cbf6ce77920b834564 (patch) | |
| tree | 507b5dcb1c69c16fd6ea7bab0575fdadfdaf92de /tests/topotests/lib/lutil.py | |
| parent | a5586bb6be071b1cb661da01e00206a3a42d6d34 (diff) | |
| parent | dccb75bbcff55cb832bf05c2699028c3ecfe0869 (diff) | |
topotest: minor doc, lutil, sharpd not compiled changes (#5675)
topotest: minor doc, lutil, sharpd not compiled changes
Diffstat (limited to 'tests/topotests/lib/lutil.py')
| -rwxr-xr-x | tests/topotests/lib/lutil.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/topotests/lib/lutil.py b/tests/topotests/lib/lutil.py index 7c89ada013..4ea97a3692 100755 --- a/tests/topotests/lib/lutil.py +++ b/tests/topotests/lib/lutil.py @@ -336,6 +336,14 @@ def luNumPass(): def luResult(target, success, str, logstr=None): return LUtil.result(target, success, str, logstr) +def luShowResults(prFunction): + printed = 0 + sf = open(LUtil.fsum_name, 'r') + for line in sf: + printed+=1 + prFunction(line.rstrip()) + sf.close() + def luShowFail(): printed = 0 sf = open(LUtil.fsum_name, 'r') |
