diff --git a/Makefile b/Makefile index 5433960260..c808df6170 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,17 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # # Makefile for combined CoAP Service library # diff --git a/Makefile.test b/Makefile.test index 8a1c3063f7..1ba43d9a3d 100644 --- a/Makefile.test +++ b/Makefile.test @@ -1,3 +1,17 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # # Makefile.test for COAP service unit tests # diff --git a/test/coap-service/unittest/Makefile b/test/coap-service/unittest/Makefile index 4e788fc31f..f42b2c6935 100755 --- a/test/coap-service/unittest/Makefile +++ b/test/coap-service/unittest/Makefile @@ -1,3 +1,18 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# #scan for folders having "Makefile" in them and remove 'this' to prevent loop ifeq ($(OS),Windows_NT) all: diff --git a/test/coap-service/unittest/MakefileWorker.mk b/test/coap-service/unittest/MakefileWorker.mk index 2096ced036..950375a576 100755 --- a/test/coap-service/unittest/MakefileWorker.mk +++ b/test/coap-service/unittest/MakefileWorker.mk @@ -1,3 +1,18 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# #--------- # # MakefileWorker.mk diff --git a/test/coap-service/unittest/coap_connection_handler/Makefile b/test/coap-service/unittest/coap_connection_handler/Makefile index 729ee1c443..82f8bcda0e 100644 --- a/test/coap-service/unittest/coap_connection_handler/Makefile +++ b/test/coap-service/unittest/coap_connection_handler/Makefile @@ -1,3 +1,18 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# include ../makefile_defines.txt COMPONENT_NAME = coap_connection_handler_unit diff --git a/test/coap-service/unittest/coap_message_handler/Makefile b/test/coap-service/unittest/coap_message_handler/Makefile index f089fc1ebb..1b02dfb31a 100644 --- a/test/coap-service/unittest/coap_message_handler/Makefile +++ b/test/coap-service/unittest/coap_message_handler/Makefile @@ -1,3 +1,18 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# include ../makefile_defines.txt COMPONENT_NAME = coap_message_handler_unit diff --git a/test/coap-service/unittest/coap_security_handler/Makefile b/test/coap-service/unittest/coap_security_handler/Makefile index ecec16e0bf..1375ed9282 100644 --- a/test/coap-service/unittest/coap_security_handler/Makefile +++ b/test/coap-service/unittest/coap_security_handler/Makefile @@ -1,3 +1,18 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# include ../makefile_defines.txt COMPONENT_NAME = coap_security_handler_unit diff --git a/test/coap-service/unittest/coap_service_api/Makefile b/test/coap-service/unittest/coap_service_api/Makefile index 00940f3154..a057ad0763 100644 --- a/test/coap-service/unittest/coap_service_api/Makefile +++ b/test/coap-service/unittest/coap_service_api/Makefile @@ -1,3 +1,18 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# include ../makefile_defines.txt COMPONENT_NAME = coap_service_api_unit diff --git a/test/coap-service/unittest/makefile_defines.txt b/test/coap-service/unittest/makefile_defines.txt index 3e0bc1b91b..038c81f7fb 100755 --- a/test/coap-service/unittest/makefile_defines.txt +++ b/test/coap-service/unittest/makefile_defines.txt @@ -1,3 +1,17 @@ +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. #--- Inputs ----# CPPUTEST_HOME = /usr CPPUTEST_USE_EXTENSIONS = Y diff --git a/test/coap-service/unittest/run_tests b/test/coap-service/unittest/run_tests index ce3fc0c170..444de74b03 100755 --- a/test/coap-service/unittest/run_tests +++ b/test/coap-service/unittest/run_tests @@ -1,4 +1,19 @@ #!/bin/bash +# Copyright (c) 2015-2017, Arm Limited and affiliates. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# echo echo Build Coap-service unit tests echo