projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea4fac
)
tests: py: fix NameError exception if bdi cmd is not supported
author
Heiko Schocher
<hs@denx.de>
Mon, 9 May 2016 08:08:24 +0000
(10:08 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 13 May 2016 13:17:33 +0000
(09:17 -0400)
test/py raises an error, if a board has not enabled bdi command
> pytest.skip('bdinfo command not supported')
E NameError: global name 'pytest' is not defined
import pytest in test/py/u_boot_utils.py fixes this.
Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
test/py/u_boot_utils.py
patch
|
blob
|
history
diff --git
a/test/py/u_boot_utils.py
b/test/py/u_boot_utils.py
index
72d24e4
..
9d243e0
100644
(file)
--- a/
test/py/u_boot_utils.py
+++ b/
test/py/u_boot_utils.py
@@
-7,6
+7,7
@@
import hashlib
import os
import os.path
+import pytest
import sys
import time