Browse Source

docker test makefile update

pull/1/head
Joseph Henry 10 years ago
parent
commit
2552e87af8
  1. 4
      make-linux.mk
  2. 8
      tests/docker/build.sh
  3. 0
      tests/docker/build_images.sh
  4. 20
      tests/docker/build_zt.sh

4
make-linux.mk

@ -109,8 +109,8 @@ docker_demo: one linux_shared_lib
cd $(INT)/docker/docker_demo; docker build --tag="docker_demo_monitor" -f monitor_dockerfile .
# Builds all docker test images
docker_images:
./tests/docker/build.sh
docker_images: one linux_shared_lib
./tests/docker/build_images.sh
# Runs docker container tests
docker_test:

8
tests/docker/build.sh

@ -1,8 +0,0 @@
#!/bin/bash
echo "*** Building Zerotier-One, libraries, and test/monitor images..."
./build_zt.sh
./build_tests.sh $1
echo "*** Done"

0
tests/docker/build_tests.sh → tests/docker/build_images.sh

20
tests/docker/build_zt.sh

@ -1,20 +0,0 @@
#!/bin/bash
# Builds Zerotier-One and libraries required for SDK, then
# copies the binaries into the test directory.
cd ../../
make clean
make one
make sdk
cd sdk/docker-test
cp ../../zerotier-cli zerotier-cli
cp ../../zerotier-sdk-service zerotier-sdk-service
cp ../../libztintercept.so libztintercept.so
cp ../liblwip.so liblwip.so
cp ../zerotier-intercept zerotier-intercept
cp ../../zerotier-one zerotier-one
Loading…
Cancel
Save