enabled unit tests

pull/3240/head
Antti Kauppila 2015-12-22 10:32:31 +02:00
parent b95d5be080
commit 9a043c3b50
2 changed files with 25 additions and 1 deletions

View File

@ -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": {}
}

23
run_unit_tests.sh Executable file
View File

@ -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