summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Makefile.inc14
-rw-r--r--tests/lib/string-test.c3
2 files changed, 5 insertions, 12 deletions
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>