diff options
author | David Robillard <d@drobilla.net> | 2022-06-29 09:30:06 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-20 16:24:23 -0400 |
commit | d3bb4e9c2dba3cebfa7ce9f37d32e54ec2fe14a3 (patch) | |
tree | 4d97d8e683262f69e813dfbbd1924e1a9e4c68a3 /test | |
parent | 7f4f065c64ab99c63f4e86d5b3310098c5b4f2f1 (diff) | |
download | raul-d3bb4e9c2dba3cebfa7ce9f37d32e54ec2fe14a3.tar.gz raul-d3bb4e9c2dba3cebfa7ce9f37d32e54ec2fe14a3.tar.bz2 raul-d3bb4e9c2dba3cebfa7ce9f37d32e54ec2fe14a3.zip |
Adopt REUSE machine-readable licensing standard
Diffstat (limited to 'test')
-rw-r--r-- | test/.clang-tidy | 3 | ||||
-rw-r--r-- | test/array_test.cpp | 16 | ||||
-rw-r--r-- | test/build_test.cpp | 16 | ||||
-rw-r--r-- | test/double_buffer_test.cpp | 16 | ||||
-rw-r--r-- | test/headers/.clang-tidy | 3 | ||||
-rw-r--r-- | test/headers/test_headers.cpp | 16 | ||||
-rw-r--r-- | test/maid_test.cpp | 16 | ||||
-rw-r--r-- | test/meson.build | 10 | ||||
-rw-r--r-- | test/path_test.cpp | 16 | ||||
-rw-r--r-- | test/ringbuffer_test.cpp | 16 | ||||
-rw-r--r-- | test/sem_test.cpp | 16 | ||||
-rw-r--r-- | test/socket_test.cpp | 16 | ||||
-rw-r--r-- | test/symbol_test.cpp | 16 | ||||
-rw-r--r-- | test/thread_test.cpp | 16 |
14 files changed, 38 insertions, 154 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy index 85feab3..7563367 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -1,3 +1,6 @@ +# Copyright 2020-2022 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: CC0-1.0 OR GPL-3.0-or-later + Checks: > *, -*-avoid-c-arrays, diff --git a/test/array_test.cpp b/test/array_test.cpp index b3cb905..e583acd 100644 --- a/test/array_test.cpp +++ b/test/array_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2019 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2019 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/build_test.cpp b/test/build_test.cpp index c228651..10f4aa3 100644 --- a/test/build_test.cpp +++ b/test/build_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2017 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2017 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #include "raul/Array.hpp" #include "raul/Deletable.hpp" diff --git a/test/double_buffer_test.cpp b/test/double_buffer_test.cpp index cb7fb97..dbdaa4b 100644 --- a/test/double_buffer_test.cpp +++ b/test/double_buffer_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2013-2019 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2013-2019 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy index 374dbd7..1a91f8b 100644 --- a/test/headers/.clang-tidy +++ b/test/headers/.clang-tidy @@ -1,3 +1,6 @@ +# Copyright 2020-2022 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: CC0-1.0 OR GPL-3.0-or-later + Checks: > *, -*-avoid-c-arrays, diff --git a/test/headers/test_headers.cpp b/test/headers/test_headers.cpp index 6149f43..7e28da3 100644 --- a/test/headers/test_headers.cpp +++ b/test/headers/test_headers.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2022 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2022 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #include "raul/Array.hpp" // IWYU pragma: keep #include "raul/Deletable.hpp" // IWYU pragma: keep diff --git a/test/maid_test.cpp b/test/maid_test.cpp index 13284c2..cb4e461 100644 --- a/test/maid_test.cpp +++ b/test/maid_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2017 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2017 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/meson.build b/test/meson.build index 8411377..c134067 100644 --- a/test/meson.build +++ b/test/meson.build @@ -11,6 +11,16 @@ if not get_option('tests').disabled() and not meson.is_subproject() suite: 'data', ) endif + + # Check licensing metadata + reuse = find_program('reuse', required: false) + if reuse.found() + test( + 'REUSE', reuse, + args: ['--root', raul_src_root, 'lint'], + suite: 'data', + ) + endif endif ################### diff --git a/test/path_test.cpp b/test/path_test.cpp index aeea0da..573448c 100644 --- a/test/path_test.cpp +++ b/test/path_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2019 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2019 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp index 0a2dd41..7366bf4 100644 --- a/test/ringbuffer_test.cpp +++ b/test/ringbuffer_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2019 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2019 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/sem_test.cpp b/test/sem_test.cpp index 9087b68..ae82c91 100644 --- a/test/sem_test.cpp +++ b/test/sem_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2017 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2017 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/socket_test.cpp b/test/socket_test.cpp index da05c40..ff2e7d7 100644 --- a/test/socket_test.cpp +++ b/test/socket_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2019 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2019 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/symbol_test.cpp b/test/symbol_test.cpp index 1a73903..e9f64da 100644 --- a/test/symbol_test.cpp +++ b/test/symbol_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2019 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2019 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG diff --git a/test/thread_test.cpp b/test/thread_test.cpp index 8cc59cf..3b74b46 100644 --- a/test/thread_test.cpp +++ b/test/thread_test.cpp @@ -1,17 +1,5 @@ -/* - Copyright 2007-2019 David Robillard <d@drobilla.net> - - Raul 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, either version 3 of the License, or any later version. - - Raul 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. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ +// Copyright 2007-2019 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later #undef NDEBUG |