summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-20 11:56:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:00 +0100
commit642a997adee8f12ed640a03ead8fdd73ca0f6ab1 (patch)
tree7073db3254086641b0a33459ed897c6c5f6fab7c /meta/recipes-rt/rt-tests
parent44e9a0d2fa759dea281fc32b602cd7878000c277 (diff)
downloadpoky-642a997adee8f12ed640a03ead8fdd73ca0f6ab1.tar.gz
classes/lib: Update xrange -> range for python3
xrange() no longer exists in python 3, use range() (From OE-Core rev: d022b4335100612d6596cc4c4956cb98ed5873cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt/rt-tests')
-rwxr-xr-xmeta/recipes-rt/rt-tests/files/rt_bmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py b/meta/recipes-rt/rt-tests/files/rt_bmark.py
index e2280e43e2..0e2b105e34 100755
--- a/meta/recipes-rt/rt-tests/files/rt_bmark.py
+++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py
@@ -324,7 +324,7 @@ def run_cyclictest_suite():
324 t = time.time() 324 t = time.time()
325 max_list = [] 325 max_list = []
326 326
327 for i in xrange(0, suite_size): 327 for i in range(0, suite_size):
328 tmp_min, tmp_avg, tmp_max = run_cyclictest_once() 328 tmp_min, tmp_avg, tmp_max = run_cyclictest_once()
329 329
330 msg = "%2d/%2d:" % (i+1, suite_size) 330 msg = "%2d/%2d:" % (i+1, suite_size)