aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-build-perf-test')
-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
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib')
import scriptpath
scriptpath.add_oe_lib_path()
+from oeqa.buildperf import KernelDropCaches
from oeqa.utils.commands import runCmd
@@ -71,6 +72,9 @@ def main(argv=None):
if not pre_run_sanity_check():
return 1
+ # Check our capability to drop caches and ask pass if needed
+ KernelDropCaches.check()
+
return 0