[Fuego] [PATCH] fuego_test_phases: convert whole test to MIT license

Tim.Bird at sony.com Tim.Bird at sony.com
Thu Mar 8 01:54:40 UTC 2018


This demonstrates how one can add
a different (non-default) license to an entire test,
including the Fuego-specific materials.  As the sole
copyright owner, I have the legal authority to change
the license of this code from BSD-3-Clause to MIT,
which Sony, and I, prefer.

Put an SPDX identifier in the fuego_test.sh file,
and add a LICENSE file, and include the license in the
test.yaml manifest for this test.

Signed-off-by: Tim Bird <tim.bird at sony.com>
---
 engine/tests/Functional.fuego_test_phases/LICENSE    | 20 ++++++++++++++++++++
 .../tests/Functional.fuego_test_phases/fuego_test.sh |  2 ++
 engine/tests/Functional.fuego_test_phases/test.yaml  |  3 ++-
 3 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 engine/tests/Functional.fuego_test_phases/LICENSE

diff --git a/engine/tests/Functional.fuego_test_phases/LICENSE b/engine/tests/Functional.fuego_test_phases/LICENSE
new file mode 100644
index 0000000..d52d274
--- /dev/null
+++ b/engine/tests/Functional.fuego_test_phases/LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2017 Sony Corporation
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/engine/tests/Functional.fuego_test_phases/fuego_test.sh b/engine/tests/Functional.fuego_test_phases/fuego_test.sh
index 39c29d3..63b13ee 100755
--- a/engine/tests/Functional.fuego_test_phases/fuego_test.sh
+++ b/engine/tests/Functional.fuego_test_phases/fuego_test.sh
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT
+
 export PHASE_STR="script load"
 
 # use string concatenation to test phase ordering
diff --git a/engine/tests/Functional.fuego_test_phases/test.yaml b/engine/tests/Functional.fuego_test_phases/test.yaml
index af263a5..7729ae6 100644
--- a/engine/tests/Functional.fuego_test_phases/test.yaml
+++ b/engine/tests/Functional.fuego_test_phases/test.yaml
@@ -14,4 +14,5 @@ fuego_release: 1
 type: Functional
 tags: ['self-check']
 data_files:
- - Functional.fuego_test_phases.spec
+ - spec.json
+ - LICENSE
-- 
1.9.1



More information about the Fuego mailing list