Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Julius Werner: Looks good to me, approved Paul Fagerburg: Looks good to me, approved
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>
---
M tests/device/Makefile.inc
M tests/device/i2c-test.c
M tests/lib/Makefile.inc
M tests/lib/string-test.c
4 files changed, 9 insertions(+), 36 deletions(-)

diff --git a/tests/device/Makefile.inc b/tests/device/Makefile.inc
index f23e72f..2bd6bb6 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 16e4d0d..c4fa812 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 86ac323..fc2f8bc 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 210aaba..5d03d51 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>

To view, visit change 41088. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id8ca7c53122632c674e6bf952046ea22c0408e55
Gerrit-Change-Number: 41088
Gerrit-PatchSet: 2
Gerrit-Owner: Jan Dabros
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg@chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged