diff options
Diffstat (limited to 'external/poky/meta/lib/oeqa/buildperf')
-rw-r--r-- | external/poky/meta/lib/oeqa/buildperf/__init__.py | 8 | ||||
-rw-r--r-- | external/poky/meta/lib/oeqa/buildperf/base.py | 11 | ||||
-rw-r--r-- | external/poky/meta/lib/oeqa/buildperf/test_basic.py | 9 |
3 files changed, 4 insertions, 24 deletions
diff --git a/external/poky/meta/lib/oeqa/buildperf/__init__.py b/external/poky/meta/lib/oeqa/buildperf/__init__.py index 605f429e..b7ebd036 100644 --- a/external/poky/meta/lib/oeqa/buildperf/__init__.py +++ b/external/poky/meta/lib/oeqa/buildperf/__init__.py @@ -1,13 +1,7 @@ # Copyright (c) 2016, Intel Corporation. # -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. # -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. +# SPDX-License-Identifier: GPL-2.0-only # """Build performance tests""" from .base import (BuildPerfTestCase, diff --git a/external/poky/meta/lib/oeqa/buildperf/base.py b/external/poky/meta/lib/oeqa/buildperf/base.py index ac6ee15d..5f1805d8 100644 --- a/external/poky/meta/lib/oeqa/buildperf/base.py +++ b/external/poky/meta/lib/oeqa/buildperf/base.py @@ -1,13 +1,6 @@ # Copyright (c) 2016, Intel Corporation. # -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. +# SPDX-License-Identifier: GPL-2.0-only # """Build performance test base classes and functionality""" import json @@ -469,7 +462,7 @@ class BuildPerfTestCase(unittest.TestCase): def rm_tmp(self): """Cleanup temporary/intermediate files and directories""" log.debug("Removing temporary and cache files") - for name in ['bitbake.lock', 'conf/sanity_info', + for name in ['bitbake.lock', 'cache/sanity_info', self.bb_vars['TMPDIR']]: oe.path.remove(name, recurse=True) diff --git a/external/poky/meta/lib/oeqa/buildperf/test_basic.py b/external/poky/meta/lib/oeqa/buildperf/test_basic.py index 6d6b01b0..2104617b 100644 --- a/external/poky/meta/lib/oeqa/buildperf/test_basic.py +++ b/external/poky/meta/lib/oeqa/buildperf/test_basic.py @@ -1,13 +1,6 @@ # Copyright (c) 2016, Intel Corporation. # -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. +# SPDX-License-Identifier: GPL-2.0-only # """Basic set of build performance tests""" import os |