meta/lib+scripts: Convert to SPDX license headers

This adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.

The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).

More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.

The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.

(From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2019-05-08 18:22:19 +01:00
parent c7592b0147
commit ffae400179
347 changed files with 974 additions and 1464 deletions

24
LICENSE
View File

@ -1,14 +1,20 @@
Different components of OpenEmbedded are under different licenses (a mix
of MIT and GPLv2). Please see:
meta/COPYING.GPLv2 (GPLv2)
meta/COPYING.MIT (MIT)
meta-selftest/COPYING.MIT (MIT)
meta-skeleton/COPYING.MIT (MIT)
of MIT and GPLv2). See LICENSE.GPL-2.0-only and LICENSE.MIT for further
details of the individual licenses.
All metadata is MIT licensed unless otherwise stated. Source code
included in tree for individual recipes is under the LICENSE stated in
the associated recipe (.bb file) unless otherwise stated.
included in tree for individual recipes (e.g. patches) are under
the LICENSE stated in the associated recipe (.bb file) unless
otherwise stated.
License information for any other files is either explicitly stated
or defaults to GPL version 2.
or defaults to GPL version 2 only.
Individual files contain the following style tags instead of the full license
text to identify their license:
SPDX-License-Identifier: GPL-2.0-only
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@ -279,61 +279,10 @@ POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
Note:
Individual files contain the following tag instead of the full license text.
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
SPDX-License-Identifier: GPL-2.0-only
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that 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.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@ -13,5 +13,13 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@ -1,17 +0,0 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import logging
import os
import sys

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Implements system state sampling. Called by buildstats.bbclass.
# Because it is a real Python module, it can hold persistent state,
# like open log files and the time of the last sampling.

View File

@ -1,2 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)

View File

@ -3,6 +3,8 @@
# Copyright (C) 2012-2013, 2016-2017 Intel Corporation
# Author: Paul Eggleton <paul.eggleton@linux.intel.com>
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Note: requires GitPython 0.3.1+
#
# You can use this from the command line by running scripts/buildhistory-diff

View File

@ -1,4 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on standard python library functions but avoid
# repeated stat calls. Its assumed the files will not change from under us
# so we can cache stat calls.

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import collections
class ClassExtender(object):

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
class ClassRegistryMeta(type):
"""Give each ClassRegistry their own registry"""

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
# This class should provide easy access to the different aspects of the
# buildsystem such as layers, bitbake location, etc.
#

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import json
import oe.maketype

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
def create_socket(url, d):
import urllib
from bb.utils import export_proxies

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
def machine_dict(d):
# TARGET_OS TARGET_ARCH MACHINE, OSABI, ABIVERSION, Little Endian, 32bit?
machdata = {

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""Helper module for GPG signing"""
import os

View File

@ -1,4 +1,6 @@
# vi:sts=4:sw=4:et
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""Code for parsing OpenEmbedded license strings"""
import ast

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
def get_os_release():
"""Get all key-value pairs from /etc/os-release as a dict"""
from collections import OrderedDict

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""OpenEmbedded variable typing support
Types are defined in the metadata by name, using the 'type' flag on a

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from abc import ABCMeta, abstractmethod
import os
import re

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import stat
import mmap
import subprocess

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from abc import ABCMeta, abstractmethod
import os
import glob

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import codecs
import os

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import itertools
def is_optional(feature, d):

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import oe.path
import oe.types

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import errno
import glob
import shutil

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
def prserv_make_conn(d, check = False):
import prserv.serv

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os, struct, mmap
class NotELFFileError(Exception):

View File

@ -4,6 +4,8 @@
#
# Copyright (C) 2013-2017 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-only
#
import sys
import os

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from abc import ABCMeta, abstractmethod
from oe.utils import execute_pre_post_process
from oe.package_manager import *

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from abc import ABCMeta, abstractmethod
from oe.utils import execute_pre_post_process
from oe.manifest import *

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import bb.siggen
import oe

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import logging
import oe.classutils
import shlex

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import errno
import re
import os

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import re

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import subprocess
import multiprocessing
import traceback

View File

@ -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,

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Enable other layers to have modules in the same named directory
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)

View File

@ -1,7 +1,7 @@
# Copyright (C) 2014 Intel Corporation
#
# Released under the MIT license (see COPYING.MIT)
# SPDX-License-Identifier: MIT
#
# This module adds support to testimage.bbclass to deploy images and run
# tests using a "master image" - this is a "known good" image that is
# installed onto the device as part of initial setup and will be booted into

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import types
import bb
import os

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import unittest

View File

@ -1,5 +1,7 @@
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.case import OETestCase
from oeqa.core.decorator.depends import OETestDepends

View File

@ -1,5 +1,7 @@
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
## Copyright (C) 2016 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
import os
import sys

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from functools import wraps
from abc import abstractmethod, ABCMeta

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.exception import OEQAMissingVariable

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from unittest import SkipTest

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from . import OETestFilter, registerDecorator
from oeqa.core.utils.misc import strToList

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import signal
from . import OETestDecorator, registerDecorator

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
class OEQAException(Exception):
pass

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import os
import re

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import os
import time

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from abc import abstractmethod

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import os
import sys

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import os
import time

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.case import OETestCase
from oeqa.core.decorator.oetag import OETestTag

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.case import OETestCase
from oeqa.core.decorator.depends import OETestDepends

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.case import OETestCase

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.case import OETestCase
from oeqa.core.decorator.oetag import OETestTag

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from time import sleep

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import sys
import os

View File

@ -1,7 +1,9 @@
#!/usr/bin/env python3
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import unittest
import logging

View File

@ -1,7 +1,9 @@
#!/usr/bin/env python3
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import signal
import unittest

View File

@ -1,7 +1,9 @@
#!/usr/bin/env python3
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import os
import unittest

View File

@ -1,7 +1,9 @@
#!/usr/bin/env python3
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import unittest
import logging

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Modified for use in OE by Richard Purdie, 2018
#
# Modified by: Corey Goldberg, 2013

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
def toList(obj, obj_type, obj_name="Object"):
if isinstance(obj, obj_type):

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import os
import sys

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
import os
import inspect

View File

@ -1,6 +1,8 @@
#
# Copyright (C) 2013 Intel Corporation
#
# Released under the MIT license (see COPYING.MIT)
# SPDX-License-Identifier: MIT
#
# Main unittest module used by testimage.bbclass
# This provides the oeRuntimeTest base class which is inherited by all tests in meta/lib/oeqa/runtime.

View File

@ -1,9 +1,9 @@
#!/usr/bin/env python3
#
# Copyright (C) 2013 Intel Corporation
#
# Released under the MIT license (see COPYING.MIT)
# SPDX-License-Identifier: MIT
#
# This script should be used outside of the build system to run image tests.
# It needs a json file as input as exported by the build.

View File

@ -1,5 +1,8 @@
#
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.case import OETestCase
from oeqa.utils.package_manager import install_package, uninstall_package

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
class QemuTinyTest(OERuntimeTestCase):

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
from oeqa.utils.httpserver import HTTPService
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import re
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
import re
import subprocess

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.runtime.decorator.package import OEHasPackage

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
import time

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.core.decorator.data import skipIfNotFeature

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
# This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=289 testcase
# Note that the image under test must have logrotate installed

View File

@ -2,15 +2,9 @@
#
# Copyright (c) 2019 MontaVista Software, LLC
#
# 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
#
import time
import datetime
import pprint

View File

@ -2,14 +2,7 @@
#
# Copyright (c) 2019 MontaVista Software, LLC
#
# 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
#
import time

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.core.decorator.data import skipIfNotInDataVar

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.core.decorator.data import skipIfDataVar

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
from oeqa.utils.httpserver import HTTPService
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
# This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=287 testcase
# Note that the image under test must have "pam" in DISTRO_FEATURES

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
from subprocess import check_output

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import os
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from subprocess import Popen, PIPE
from oeqa.runtime.case import OERuntimeTestCase

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
import unittest
import pprint
import datetime

View File

@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage

Some files were not shown because too many files have changed in this diff Show More