summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/__init__.py3
-rw-r--r--meta/lib/oeqa/utils/buildproject.py4
-rw-r--r--meta/lib/oeqa/utils/commands.py4
-rw-r--r--meta/lib/oeqa/utils/decorators.py4
-rw-r--r--meta/lib/oeqa/utils/dump.py4
-rw-r--r--meta/lib/oeqa/utils/ftools.py4
-rw-r--r--meta/lib/oeqa/utils/git.py2
-rw-r--r--meta/lib/oeqa/utils/gitarchive.py9
-rw-r--r--meta/lib/oeqa/utils/httpserver.py4
-rw-r--r--meta/lib/oeqa/utils/logparser.py3
-rw-r--r--meta/lib/oeqa/utils/metadata.py2
-rw-r--r--meta/lib/oeqa/utils/network.py4
-rw-r--r--meta/lib/oeqa/utils/package_manager.py4
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py4
-rw-r--r--meta/lib/oeqa/utils/qemutinyrunner.py4
-rw-r--r--meta/lib/oeqa/utils/sshcontrol.py5
-rw-r--r--meta/lib/oeqa/utils/subprocesstweak.py3
-rw-r--r--meta/lib/oeqa/utils/targetbuild.py4
-rw-r--r--meta/lib/oeqa/utils/testexport.py4
19 files changed, 56 insertions, 19 deletions
diff --git a/meta/lib/oeqa/utils/__init__.py b/meta/lib/oeqa/utils/__init__.py
index d38a323013..70fbe7b552 100644
--- a/meta/lib/oeqa/utils/__init__.py
+++ b/meta/lib/oeqa/utils/__init__.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: MIT
3#
1# Enable other layers to have modules in the same named directory 4# Enable other layers to have modules in the same named directory
2from pkgutil import extend_path 5from pkgutil import extend_path
3__path__ = extend_path(__path__, __name__) 6__path__ = extend_path(__path__, __name__)
diff --git a/meta/lib/oeqa/utils/buildproject.py b/meta/lib/oeqa/utils/buildproject.py
index 01a803ab61..e6d80cc8dc 100644
--- a/meta/lib/oeqa/utils/buildproject.py
+++ b/meta/lib/oeqa/utils/buildproject.py
@@ -1,6 +1,8 @@
1#
1# Copyright (C) 2013-2016 Intel Corporation 2# Copyright (C) 2013-2016 Intel Corporation
2# 3#
3# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
4 6
5# Provides a class for automating build tests for projects 7# Provides a class for automating build tests for projects
6 8
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index 2e6a2289cd..59ebfbe125 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
@@ -1,6 +1,8 @@
1#
1# Copyright (c) 2013-2014 Intel Corporation 2# Copyright (c) 2013-2014 Intel Corporation
2# 3#
3# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
4 6
5# DESCRIPTION 7# DESCRIPTION
6# This module is mainly used by scripts/oe-selftest and modules under meta/oeqa/selftest 8# This module is mainly used by scripts/oe-selftest and modules under meta/oeqa/selftest
diff --git a/meta/lib/oeqa/utils/decorators.py b/meta/lib/oeqa/utils/decorators.py
index d876896921..aabf4110cb 100644
--- a/meta/lib/oeqa/utils/decorators.py
+++ b/meta/lib/oeqa/utils/decorators.py
@@ -1,6 +1,8 @@
1#
1# Copyright (C) 2013 Intel Corporation 2# Copyright (C) 2013 Intel Corporation
2# 3#
3# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
4 6
5# Some custom decorators that can be used by unittests 7# Some custom decorators that can be used by unittests
6# Most useful is skipUnlessPassed which can be used for 8# Most useful is skipUnlessPassed which can be used for
diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py
index 79c22b75c4..d34e05e2b4 100644
--- a/meta/lib/oeqa/utils/dump.py
+++ b/meta/lib/oeqa/utils/dump.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: MIT
3#
4
1import os 5import os
2import sys 6import sys
3import errno 7import errno
diff --git a/meta/lib/oeqa/utils/ftools.py b/meta/lib/oeqa/utils/ftools.py
index a7233d4ca6..3093419cc7 100644
--- a/meta/lib/oeqa/utils/ftools.py
+++ b/meta/lib/oeqa/utils/ftools.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: MIT
3#
4
1import os 5import os
2import re 6import re
3import errno 7import errno
diff --git a/meta/lib/oeqa/utils/git.py b/meta/lib/oeqa/utils/git.py
index 757e3f0cbf..ea35a766eb 100644
--- a/meta/lib/oeqa/utils/git.py
+++ b/meta/lib/oeqa/utils/git.py
@@ -1,7 +1,7 @@
1# 1#
2# Copyright (C) 2016 Intel Corporation 2# Copyright (C) 2016 Intel Corporation
3# 3#
4# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5# 5#
6"""Git repository interactions""" 6"""Git repository interactions"""
7import os 7import os
diff --git a/meta/lib/oeqa/utils/gitarchive.py b/meta/lib/oeqa/utils/gitarchive.py
index 9520b2e126..6e8040eb5c 100644
--- a/meta/lib/oeqa/utils/gitarchive.py
+++ b/meta/lib/oeqa/utils/gitarchive.py
@@ -4,14 +4,7 @@
4# Copyright (c) 2017, Intel Corporation. 4# Copyright (c) 2017, Intel Corporation.
5# Copyright (c) 2019, Linux Foundation 5# Copyright (c) 2019, Linux Foundation
6# 6#
7# This program is free software; you can redistribute it and/or modify it 7# SPDX-License-Identifier: GPL-2.0-only
8# under the terms and conditions of the GNU General Public License,
9# version 2, as published by the Free Software Foundation.
10#
11# This program is distributed in the hope it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14# more details.
15# 8#
16 9
17import os 10import os
diff --git a/meta/lib/oeqa/utils/httpserver.py b/meta/lib/oeqa/utils/httpserver.py
index a48d4994fd..aa435590f0 100644
--- a/meta/lib/oeqa/utils/httpserver.py
+++ b/meta/lib/oeqa/utils/httpserver.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: MIT
3#
4
1import http.server 5import http.server
2import multiprocessing 6import multiprocessing
3import os 7import os
diff --git a/meta/lib/oeqa/utils/logparser.py b/meta/lib/oeqa/utils/logparser.py
index 584ad4f263..cc6d18d94a 100644
--- a/meta/lib/oeqa/utils/logparser.py
+++ b/meta/lib/oeqa/utils/logparser.py
@@ -1,4 +1,7 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2#
3# SPDX-License-Identifier: MIT
4#
2 5
3import sys 6import sys
4import os 7import os
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index e0808ae0ac..8013aa684d 100644
--- a/meta/lib/oeqa/utils/metadata.py
+++ b/meta/lib/oeqa/utils/metadata.py
@@ -1,6 +1,6 @@
1# Copyright (C) 2016 Intel Corporation 1# Copyright (C) 2016 Intel Corporation
2# 2#
3# Released under the MIT license (see COPYING.MIT) 3# SPDX-License-Identifier: MIT
4# 4#
5# Functions to get metadata from the testing host used 5# Functions to get metadata from the testing host used
6# for analytics of test results. 6# for analytics of test results.
diff --git a/meta/lib/oeqa/utils/network.py b/meta/lib/oeqa/utils/network.py
index 2768f6c5db..59cbbc4f1b 100644
--- a/meta/lib/oeqa/utils/network.py
+++ b/meta/lib/oeqa/utils/network.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: MIT
3#
4
1import socket 5import socket
2 6
3def get_free_port(): 7def get_free_port():
diff --git a/meta/lib/oeqa/utils/package_manager.py b/meta/lib/oeqa/utils/package_manager.py
index 1495f87321..2d358f7172 100644
--- a/meta/lib/oeqa/utils/package_manager.py
+++ b/meta/lib/oeqa/utils/package_manager.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: MIT
3#
4
1import os 5import os
2import json 6import json
3import shutil 7import shutil
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 1abb2c1b6c..fd386ef5a2 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -1,6 +1,8 @@
1#
1# Copyright (C) 2013 Intel Corporation 2# Copyright (C) 2013 Intel Corporation
2# 3#
3# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
4 6
5# This module provides a class for starting qemu images using runqemu. 7# This module provides a class for starting qemu images using runqemu.
6# It's used by testimage.bbclass. 8# It's used by testimage.bbclass.
diff --git a/meta/lib/oeqa/utils/qemutinyrunner.py b/meta/lib/oeqa/utils/qemutinyrunner.py
index 5aa99d0686..364005bd2d 100644
--- a/meta/lib/oeqa/utils/qemutinyrunner.py
+++ b/meta/lib/oeqa/utils/qemutinyrunner.py
@@ -1,6 +1,8 @@
1#
1# Copyright (C) 2015 Intel Corporation 2# Copyright (C) 2015 Intel Corporation
2# 3#
3# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
4 6
5# This module provides a class for starting qemu images of poky tiny. 7# This module provides a class for starting qemu images of poky tiny.
6# It's used by testimage.bbclass. 8# It's used by testimage.bbclass.
diff --git a/meta/lib/oeqa/utils/sshcontrol.py b/meta/lib/oeqa/utils/sshcontrol.py
index d292893c08..49a07264c6 100644
--- a/meta/lib/oeqa/utils/sshcontrol.py
+++ b/meta/lib/oeqa/utils/sshcontrol.py
@@ -1,7 +1,8 @@
1# -*- coding: utf-8 -*- 1#
2# Copyright (C) 2013 Intel Corporation 2# Copyright (C) 2013 Intel Corporation
3# 3#
4# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
5 6
6# Provides a class for setting up ssh connections, 7# Provides a class for setting up ssh connections,
7# running commands and copying files to/from a target. 8# running commands and copying files to/from a target.
diff --git a/meta/lib/oeqa/utils/subprocesstweak.py b/meta/lib/oeqa/utils/subprocesstweak.py
index 1f7d11b55c..b47975a4bc 100644
--- a/meta/lib/oeqa/utils/subprocesstweak.py
+++ b/meta/lib/oeqa/utils/subprocesstweak.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: MIT
3#
1import subprocess 4import subprocess
2 5
3class OETestCalledProcessError(subprocess.CalledProcessError): 6class OETestCalledProcessError(subprocess.CalledProcessError):
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index b8db7b2aca..1055810ca3 100644
--- a/meta/lib/oeqa/utils/targetbuild.py
+++ b/meta/lib/oeqa/utils/targetbuild.py
@@ -1,6 +1,8 @@
1#
1# Copyright (C) 2013 Intel Corporation 2# Copyright (C) 2013 Intel Corporation
2# 3#
3# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
4 6
5# Provides a class for automating build tests for projects 7# Provides a class for automating build tests for projects
6 8
diff --git a/meta/lib/oeqa/utils/testexport.py b/meta/lib/oeqa/utils/testexport.py
index be2a2110fc..e89d130a9c 100644
--- a/meta/lib/oeqa/utils/testexport.py
+++ b/meta/lib/oeqa/utils/testexport.py
@@ -1,6 +1,8 @@
1#
1# Copyright (C) 2015 Intel Corporation 2# Copyright (C) 2015 Intel Corporation
2# 3#
3# Released under the MIT license (see COPYING.MIT) 4# SPDX-License-Identifier: MIT
5#
4 6
5# Provides functions to help with exporting binaries obtained from built targets 7# Provides functions to help with exporting binaries obtained from built targets
6 8