summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-12-28 17:04:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:03:59 +0000
commit0b1892fa9165407a156609ff7cb3708e21bacd8c (patch)
tree0fec5b2c4f0e13b4c12ed6fdc188a85f72aad339
parent2036c646019660e32f1bc277fdec0cdbff0afdd4 (diff)
downloadopenembedded-core-0b1892fa9165407a156609ff7cb3708e21bacd8c.tar.gz
openembedded-core-0b1892fa9165407a156609ff7cb3708e21bacd8c.tar.bz2
openembedded-core-0b1892fa9165407a156609ff7cb3708e21bacd8c.zip
oe-build-perf-test: remove unused imports and fix indent
[YOCTO #10590] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oeqa/buildperf/base.py7
-rwxr-xr-xscripts/oe-build-perf-test1
2 files changed, 2 insertions, 6 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 4027fdbfd6..f6faedb0d1 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -10,16 +10,13 @@
# more details.
#
"""Build performance test base classes and functionality"""
-import glob
import json
import logging
import os
import re
import resource
-import shutil
import socket
import time
-import traceback
import unittest
import xml.etree.ElementTree as ET
from datetime import datetime, timedelta
@@ -506,5 +503,5 @@ class BuildPerfTestRunner(unittest.TextTestRunner):
self.out_dir = out_dir
def _makeResult(self):
- return BuildPerfTestResult(self.out_dir, self.stream, self.descriptions,
- self.verbosity)
+ return BuildPerfTestResult(self.out_dir, self.stream, self.descriptions,
+ self.verbosity)
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index fc4ab3135d..f3867abfb9 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -23,7 +23,6 @@ import os
import re
import shutil
import sys
-import unittest
from datetime import datetime
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib')