From 77ae243310a240ec45a720e26a82ca9a47be3e00 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 23 Aug 2020 15:40:21 +0200 Subject: [PATCH] test: add SPDX License identifier to header and specify file is part of LiteX. --- test/test_axi.py | 7 +++++-- test/test_axi_lite.py | 7 +++++-- test/test_bitbang.py | 7 +++++-- test/test_clock.py | 7 +++++-- test/test_code_8b10b.py | 9 ++++++--- test/test_csr.py | 7 +++++-- test/test_ecc.py | 7 +++++-- test/test_emif.py | 7 +++++-- test/test_gearbox.py | 7 +++++-- test/test_i2s.py | 7 +++++-- test/test_icap.py | 7 +++++-- test/test_packet.py | 7 +++++-- test/test_prbs.py | 7 +++++-- test/test_spi.py | 7 +++++-- test/test_spi_opi.py | 7 +++++-- test/test_stream.py | 4 ++-- test/test_targets.py | 9 ++++++--- test/test_wishbone.py | 7 +++++-- 18 files changed, 89 insertions(+), 38 deletions(-) diff --git a/test/test_axi.py b/test/test_axi.py index 256c0aea9..0d406271e 100644 --- a/test/test_axi.py +++ b/test/test_axi.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_axi_lite.py b/test/test_axi_lite.py index e24d9e8a5..08e106302 100644 --- a/test/test_axi_lite.py +++ b/test/test_axi_lite.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_bitbang.py b/test/test_bitbang.py index 0ca69a746..0060529e6 100644 --- a/test/test_bitbang.py +++ b/test/test_bitbang.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_clock.py b/test/test_clock.py index 0c3d78a03..527963c83 100644 --- a/test/test_clock.py +++ b/test/test_clock.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_code_8b10b.py b/test/test_code_8b10b.py index 403089d11..a4c2fe121 100644 --- a/test/test_code_8b10b.py +++ b/test/test_code_8b10b.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2017-2019 Florent Kermarrec -# This file is Copyright (c) 2016-2017 Sebastien Bourdeauducq -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2017-2019 Florent Kermarrec +# Copyright (c) 2016-2017 Sebastien Bourdeauducq +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_csr.py b/test/test_csr.py index 38a4fe1e3..1fe1d5547 100644 --- a/test/test_csr.py +++ b/test/test_csr.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_ecc.py b/test/test_ecc.py index ca7929fbc..9135830c7 100644 --- a/test/test_ecc.py +++ b/test/test_ecc.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_emif.py b/test/test_emif.py index c7793f4a2..e6d81631f 100644 --- a/test/test_emif.py +++ b/test/test_emif.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_gearbox.py b/test/test_gearbox.py index d1ff169bc..70de10e27 100644 --- a/test/test_gearbox.py +++ b/test/test_gearbox.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2017-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2017-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_i2s.py b/test/test_i2s.py index 80700461c..743a8905b 100644 --- a/test/test_i2s.py +++ b/test/test_i2s.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_icap.py b/test/test_icap.py index 662d31ea6..f9bb705ef 100644 --- a/test/test_icap.py +++ b/test/test_icap.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_packet.py b/test/test_packet.py index b7e7a3343..5d5c3bfd4 100644 --- a/test/test_packet.py +++ b/test/test_packet.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_prbs.py b/test/test_prbs.py index f4c04392f..3cb965160 100644 --- a/test/test_prbs.py +++ b/test/test_prbs.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_spi.py b/test/test_spi.py index e9684dae3..7c4e72b55 100644 --- a/test/test_spi.py +++ b/test/test_spi.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_spi_opi.py b/test/test_spi_opi.py index f556d38a0..1c37161fb 100644 --- a/test/test_spi_opi.py +++ b/test/test_spi_opi.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_stream.py b/test/test_stream.py index 8b6b978b5..feed1144b 100644 --- a/test/test_stream.py +++ b/test/test_stream.py @@ -1,5 +1,5 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_targets.py b/test/test_targets.py index ded185aa4..f9f7800d8 100644 --- a/test/test_targets.py +++ b/test/test_targets.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2017-2019 Florent Kermarrec -# This file is Copyright (c) 2019 Tim 'mithro' Ansell -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2017-2019 Florent Kermarrec +# Copyright (c) 2019 Tim 'mithro' Ansell +# SPDX-License-Identifier: BSD-2-Clause import subprocess import unittest diff --git a/test/test_wishbone.py b/test/test_wishbone.py index fa8e6f2f4..c79c943d5 100644 --- a/test/test_wishbone.py +++ b/test/test_wishbone.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest