diff options
Diffstat (limited to 'scripts/oe-build-perf-test')
-rwxr-xr-x | scripts/oe-build-perf-test | 4 |
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 | |||
22 | sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib') | 22 | sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib') |
23 | import scriptpath | 23 | import scriptpath |
24 | scriptpath.add_oe_lib_path() | 24 | scriptpath.add_oe_lib_path() |
25 | from oeqa.buildperf import KernelDropCaches | ||
25 | from oeqa.utils.commands import runCmd | 26 | from 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 | ||