diff --git a/module.json b/module.json index 7c4c0da599..7208e9d57f 100644 --- a/module.json +++ b/module.json @@ -21,7 +21,8 @@ "nanostack-libservice": "^3.0.0", "mbed-client-c": "^1.1.0", "sal-stack-nanostack-eventloop": "^1.0.0", - "sal-stack-nanostack": "^3.0.0" + "sal-stack-nanostack": "^3.0.0", + "mbedtls": "^2.0.0" }, "targetDependencies": {} } diff --git a/run_unit_tests.sh b/run_unit_tests.sh new file mode 100755 index 0000000000..0fed9ad320 --- /dev/null +++ b/run_unit_tests.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# Copyright (c) 2015 ARM Limited. All rights reserved. +# 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 + +yt target x86-linux-native +yt up +make -f Makefile.test test +make -f Makefile.test test clean