From fb9bfe4011a010a816ad87d7816968254047916a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 22 Aug 2025 10:15:47 -0500 Subject: [PATCH] testsuites/*: Add SPDX for RTEMS legacy license These may still be relicensed but adding SPDX is needed. Updates #4805. --- testsuites/sptests/sp29/init.c | 2 ++ testsuites/sptests/sp34/changepri.c | 2 ++ testsuites/sptests/sp35/priinv.c | 2 ++ testsuites/sptests/sp52/sp52impl.h | 2 ++ testsuites/sptests/sp67/init.c | 2 ++ testsuites/sptests/sp77/init.c | 2 ++ testsuites/sptests/spcbssched02/init.c | 2 ++ testsuites/sptests/spcbssched02/task_periodic.c | 2 ++ testsuites/sptests/spcbssched03/init.c | 2 ++ testsuites/sptests/spcbssched03/tasks_aperiodic.c | 2 ++ testsuites/sptests/spcbssched03/tasks_periodic.c | 2 ++ testsuites/sptests/spedfsched03/init.c | 2 ++ testsuites/sptests/spedfsched03/tasks_aperiodic.c | 2 ++ testsuites/sptests/spedfsched03/tasks_periodic.c | 2 ++ testsuites/sptests/spfifo01/init.c | 2 ++ testsuites/sptests/spfreechain01/init.c | 2 ++ testsuites/sptests/spqreslib/init.c | 2 ++ testsuites/sptests/spqreslib/task_periodic.c | 2 ++ testsuites/support/include/tmtests_empty_function.h | 2 ++ 19 files changed, 38 insertions(+) diff --git a/testsuites/sptests/sp29/init.c b/testsuites/sptests/sp29/init.c index 6b96ab8792..0dbc96c694 100644 --- a/testsuites/sptests/sp29/init.c +++ b/testsuites/sptests/sp29/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c index 20d4ba4037..694d3df9a9 100644 --- a/testsuites/sptests/sp34/changepri.c +++ b/testsuites/sptests/sp34/changepri.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * Test program to demonstrate reordering of threads on thread queues * when their priority changes. diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c index cc3415140d..ce83150f67 100644 --- a/testsuites/sptests/sp35/priinv.c +++ b/testsuites/sptests/sp35/priinv.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * Simple test program to demonstrate priority inversion when blocking * diff --git a/testsuites/sptests/sp52/sp52impl.h b/testsuites/sptests/sp52/sp52impl.h index 801a0b8754..1f66d7cd2a 100644 --- a/testsuites/sptests/sp52/sp52impl.h +++ b/testsuites/sptests/sp52/sp52impl.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * Based upon test code posted on the RTEMS User's Mailing List * by Sergio Faustino : diff --git a/testsuites/sptests/sp67/init.c b/testsuites/sptests/sp67/init.c index 877f2d75d1..c3b435da8e 100644 --- a/testsuites/sptests/sp67/init.c +++ b/testsuites/sptests/sp67/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * Based upon test code posted on the RTEMS User's Mailing List * by Sergio Faustino : diff --git a/testsuites/sptests/sp77/init.c b/testsuites/sptests/sp77/init.c index ada13643fa..4db9623068 100644 --- a/testsuites/sptests/sp77/init.c +++ b/testsuites/sptests/sp77/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * COPYRIGHT (c) 2012. * Krzysztof Miesowicz diff --git a/testsuites/sptests/spcbssched02/init.c b/testsuites/sptests/spcbssched02/init.c index acaf7a723d..3deaa78cdb 100644 --- a/testsuites/sptests/spcbssched02/init.c +++ b/testsuites/sptests/spcbssched02/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Init * * This routine is the initialization task for this test program. diff --git a/testsuites/sptests/spcbssched02/task_periodic.c b/testsuites/sptests/spcbssched02/task_periodic.c index 39516cc1eb..dac52772ff 100644 --- a/testsuites/sptests/spcbssched02/task_periodic.c +++ b/testsuites/sptests/spcbssched02/task_periodic.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Tasks_Periodic * * This routine serves as a test task for the CBS scheduler diff --git a/testsuites/sptests/spcbssched03/init.c b/testsuites/sptests/spcbssched03/init.c index 2b58a88e40..0b0db72f66 100644 --- a/testsuites/sptests/spcbssched03/init.c +++ b/testsuites/sptests/spcbssched03/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Init * * This routine is the initialization task for this test program. diff --git a/testsuites/sptests/spcbssched03/tasks_aperiodic.c b/testsuites/sptests/spcbssched03/tasks_aperiodic.c index a942f7a018..b0bfa07bf2 100644 --- a/testsuites/sptests/spcbssched03/tasks_aperiodic.c +++ b/testsuites/sptests/spcbssched03/tasks_aperiodic.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Tasks_Aperiodic * * This routine serves as a test task for the CBS scheduler diff --git a/testsuites/sptests/spcbssched03/tasks_periodic.c b/testsuites/sptests/spcbssched03/tasks_periodic.c index aa45b715c6..90f89cf9d3 100644 --- a/testsuites/sptests/spcbssched03/tasks_periodic.c +++ b/testsuites/sptests/spcbssched03/tasks_periodic.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Tasks_Periodic * * This routine serves as a test task for the CBS scheduler diff --git a/testsuites/sptests/spedfsched03/init.c b/testsuites/sptests/spedfsched03/init.c index c908125205..118329d9c5 100644 --- a/testsuites/sptests/spedfsched03/init.c +++ b/testsuites/sptests/spedfsched03/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Init * * This routine is the initialization task for this test program. diff --git a/testsuites/sptests/spedfsched03/tasks_aperiodic.c b/testsuites/sptests/spedfsched03/tasks_aperiodic.c index 0c6a968f04..cdd9725eb3 100644 --- a/testsuites/sptests/spedfsched03/tasks_aperiodic.c +++ b/testsuites/sptests/spedfsched03/tasks_aperiodic.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Tasks_Aperiodic * * This routine serves as a test task for the EDF scheduler diff --git a/testsuites/sptests/spedfsched03/tasks_periodic.c b/testsuites/sptests/spedfsched03/tasks_periodic.c index 4418f2cd6e..0a2efca901 100644 --- a/testsuites/sptests/spedfsched03/tasks_periodic.c +++ b/testsuites/sptests/spedfsched03/tasks_periodic.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Tasks_Periodic * * This routine serves as a test task for the EDF scheduler diff --git a/testsuites/sptests/spfifo01/init.c b/testsuites/sptests/spfifo01/init.c index 70895cc222..cffcce72c0 100644 --- a/testsuites/sptests/spfifo01/init.c +++ b/testsuites/sptests/spfifo01/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * COPYRIGHT (c) 2010 * Bharath Suri. diff --git a/testsuites/sptests/spfreechain01/init.c b/testsuites/sptests/spfreechain01/init.c index 8132757031..88e832b5f0 100644 --- a/testsuites/sptests/spfreechain01/init.c +++ b/testsuites/sptests/spfreechain01/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * Copyright (c) 2013 Zhongwei Yao. * diff --git a/testsuites/sptests/spqreslib/init.c b/testsuites/sptests/spqreslib/init.c index 33e638b583..e5d4e39529 100644 --- a/testsuites/sptests/spqreslib/init.c +++ b/testsuites/sptests/spqreslib/init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Init * * This routine is the initialization task for this test program. diff --git a/testsuites/sptests/spqreslib/task_periodic.c b/testsuites/sptests/spqreslib/task_periodic.c index b219514724..321d50ca37 100644 --- a/testsuites/sptests/spqreslib/task_periodic.c +++ b/testsuites/sptests/spqreslib/task_periodic.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* Tasks_Periodic * * This routine serves as a test task for the CBS scheduler diff --git a/testsuites/support/include/tmtests_empty_function.h b/testsuites/support/include/tmtests_empty_function.h index b120e4d70a..e753814c7d 100644 --- a/testsuites/support/include/tmtests_empty_function.h +++ b/testsuites/support/include/tmtests_empty_function.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */ + /* * Prototypes for RTEMS tmtests_empty_function.c. *