summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNikolai Artemiev <nartemiev@google.com>2020-09-16 14:12:22 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2020-09-17 00:48:04 +0000
commit702c58a3218ee2c953b053d06c29ee623d16cd01 (patch)
treebcaa2c5d2a0710c4748982ba9e02bbd8c199149e /tests
parent0bb86017adc5bc776ba863c8f5ea6821ce4d9f88 (diff)
downloadflashrom-702c58a3218ee2c953b053d06c29ee623d16cd01.tar.gz
flashrom-702c58a3218ee2c953b053d06c29ee623d16cd01.tar.bz2
flashrom-702c58a3218ee2c953b053d06c29ee623d16cd01.zip
tests: Update licence headers
Signed-off-by: Nikolai Artemiev <nartemiev@google.com> Change-Id: Ia964279ace569b4b93f4e2919c1c228a9b621745 Reviewed-on: https://review.coreboot.org/c/flashrom/+/45438 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/flashrom.c15
-rw-r--r--tests/helpers.c15
-rw-r--r--tests/include/test.h16
-rw-r--r--tests/meson.build13
-rw-r--r--tests/spi25.c15
-rw-r--r--tests/tests.c16
-rw-r--r--tests/tests.h15
7 files changed, 101 insertions, 4 deletions
diff --git a/tests/flashrom.c b/tests/flashrom.c
index ad46dd8da..50464ddbf 100644
--- a/tests/flashrom.c
+++ b/tests/flashrom.c
@@ -1,3 +1,18 @@
+/*
+ * This file is part of the flashrom project.
+ *
+ * Copyright 2020 Google LLC
+ *
+ * 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.
+ */
+
#include <include/test.h>
#include "programmer.h"
diff --git a/tests/helpers.c b/tests/helpers.c
index ab0863f0a..a920c1563 100644
--- a/tests/helpers.c
+++ b/tests/helpers.c
@@ -1,3 +1,18 @@
+/*
+ * This file is part of the flashrom project.
+ *
+ * Copyright 2020 Google LLC
+ *
+ * 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.
+ */
+
#include <include/test.h>
#include "flash.h"
diff --git a/tests/include/test.h b/tests/include/test.h
index b4e0dd2b5..24fa963b4 100644
--- a/tests/include/test.h
+++ b/tests/include/test.h
@@ -1,5 +1,17 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
+/*
+ * This file is part of the flashrom project.
+ *
+ * Copyright 2020 Google LLC
+ *
+ * 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.
+ */
#ifndef _TESTS_TEST_H
#define _TESTS_TEST_H
diff --git a/tests/meson.build b/tests/meson.build
index b1f9fdaee..f0cb76dd8 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,3 +1,16 @@
+# This file is part of the flashrom project.
+#
+# Copyright 2020 Google LLC
+#
+# 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.
+
root_includes = include_directories('../subprojects')
srcs = [
diff --git a/tests/spi25.c b/tests/spi25.c
index 362f5c69c..942fe6e57 100644
--- a/tests/spi25.c
+++ b/tests/spi25.c
@@ -1,3 +1,18 @@
+/*
+ * This file is part of the flashrom project.
+ *
+ * Copyright 2020 Google LLC
+ *
+ * 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.
+ */
+
#include <include/test.h>
#include "programmer.h"
diff --git a/tests/tests.c b/tests/tests.c
index 1a6b65fe2..312460743 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -1,5 +1,17 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
+/*
+ * This file is part of the flashrom project.
+ *
+ * Copyright 2020 Google LLC
+ *
+ * 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.
+ */
#include <include/test.h>
#include "tests.h"
diff --git a/tests/tests.h b/tests/tests.h
index 107cb514a..cb905fd6f 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -1,3 +1,18 @@
+/*
+ * This file is part of the flashrom project.
+ *
+ * Copyright 2020 Google LLC
+ *
+ * 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.
+ */
+
#ifndef TESTS_H
#define TESTS_H