diff options
author | Jan Dabros <jsd@semihalf.com> | 2020-05-06 16:01:27 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-08 15:18:47 +0000 |
commit | b0800d3e41c54ad813313e572be06a0dcd030921 (patch) | |
tree | 36b744ed6a9d6a48d8400d4ad919732daa4aaa6b | |
parent | d8bd3ff1979ee16b6f7bdaf9f515753ec1e59da6 (diff) | |
download | coreboot-b0800d3e41c54ad813313e572be06a0dcd030921.tar.xz |
tests: Add proper license headers
Signed-off-by: Jan Dabros <jsd@semihalf.com>
Change-Id: Id8ca7c53122632c674e6bf952046ea22c0408e55
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41088
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r-- | tests/device/Makefile.inc | 14 | ||||
-rw-r--r-- | tests/device/i2c-test.c | 14 | ||||
-rw-r--r-- | tests/lib/Makefile.inc | 14 | ||||
-rw-r--r-- | tests/lib/string-test.c | 3 |
4 files changed, 9 insertions, 36 deletions
diff --git a/tests/device/Makefile.inc b/tests/device/Makefile.inc index f23e72fa32..2bd6bb6a21 100644 --- a/tests/device/Makefile.inc +++ b/tests/device/Makefile.inc @@ -1,15 +1,5 @@ -## -## This file is part of the coreboot project. -## -## 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; version 2 of the License. -## -## 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. -## +# SPDX-License-Identifier: GPL-2.0-only +# This file is part of the coreboot project. tests-y += i2c-test diff --git a/tests/device/i2c-test.c b/tests/device/i2c-test.c index 16e4d0d1ed..c4fa812d44 100644 --- a/tests/device/i2c-test.c +++ b/tests/device/i2c-test.c @@ -1,15 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * 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; version 2 of the License. - * - * 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. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */ #include <stdarg.h> #include <stddef.h> diff --git a/tests/lib/Makefile.inc b/tests/lib/Makefile.inc index 86ac323ab8..fc2f8bc897 100644 --- a/tests/lib/Makefile.inc +++ b/tests/lib/Makefile.inc @@ -1,15 +1,5 @@ -## -## This file is part of the coreboot project. -## -## 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; version 2 of the License. -## -## 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. -## +# SPDX-License-Identifier: GPL-2.0-only +# This file is part of the coreboot project. # object filest should be under build/tests/ build/test/src/ build/test/run/ # two examples - first should be simply string.c, second should use -wrap diff --git a/tests/lib/string-test.c b/tests/lib/string-test.c index 210aabae4a..5d03d51561 100644 --- a/tests/lib/string-test.c +++ b/tests/lib/string-test.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */ + #include <stdarg.h> #include <stddef.h> #include <setjmp.h> |