summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-build-perf-test4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 9fb431045b..9589dee3ac 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -22,6 +22,7 @@ import sys
22sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib') 22sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib')
23import scriptpath 23import scriptpath
24scriptpath.add_oe_lib_path() 24scriptpath.add_oe_lib_path()
25from oeqa.buildperf import KernelDropCaches
25from oeqa.utils.commands import runCmd 26from oeqa.utils.commands import runCmd
26 27
27 28
@@ -71,6 +72,9 @@ def main(argv=None):
71 if not pre_run_sanity_check(): 72 if not pre_run_sanity_check():
72 return 1 73 return 1
73 74
75 # Check our capability to drop caches and ask pass if needed
76 KernelDropCaches.check()
77
74 return 0 78 return 0
75 79
76 80