Skip to content

Commit

Permalink
docker: Add CoAP client test to Docker image
Browse files Browse the repository at this point in the history
Add CoAP client tests to the Docker container. Change the working
directory to /net-tools in order for the build to succeed. When
running the test, make the script change into the directory where
the binary is, since the other script is assumed to be in the
same location.

Signed-off-by: Patrik Flykt <[email protected]>
  • Loading branch information
pfl authored and jukkar committed Oct 28, 2019
1 parent d53c42e commit 66d577f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ FROM gcc

# RUN http_proxy=... git clone...
RUN git clone http://github.com/zephyrproject-rtos/net-tools.git && \
make /net-tools/tunslip6 && make /net-tools/echo-client && \
make /net-tools/echo-server && make /net-tools/throughput-client
cd /net-tools && \
make tunslip6 && make echo-client && \
make echo-server && make throughput-client && \
make coap-client

WORKDIR /net-tools

Expand Down
1 change: 1 addition & 0 deletions libcoap/examples/etsi_coaptest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ testgroups=( CORE LINK BLOCK OBS )
testnumber=-1
group=''

cd "$(dirname $0)"
source etsi_testcases.sh

function usage {
Expand Down

0 comments on commit 66d577f

Please sign in to comment.