summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-01-24 07:34:58 +0100
committerAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-02-21 16:54:15 +0100
commit0443951623b23abd9257876ab942443822427c57 (patch)
tree2bd167547c0b34e269975a24c3554ca8ff94151a /Makefile
parent93b9c98c441ab571d1493488ab8e54115f9a04d5 (diff)
1: Create Test enviroment.
Change-Id: I79ea8d85312876af7fd389b4776f764c21345ff2 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 71b086a..079ba4a 100644
--- a/Makefile
+++ b/Makefile
@@ -72,6 +72,7 @@ help:
@echo " build-plugins - build plugins"
@echo " build-package - build rpm or deb package"
@echo " docker - build sweetcomb in docker enviroment"
+ @echo " docker_test - run test in docker enviroment"
@echo " clean - clean all build"
@echo " distclean - remove all build directory"
$(BR)/.deps.ok:
@@ -203,6 +204,9 @@ build-plugins:
docker:
@build-root/scripts/docker.sh
+docker_test:
+ @test/run_test.sh
+
build-package:
@mkdir -p $(BR)/build-scvpp/;cd $(BR)/build-scvpp;cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/scvpp/;make install;
@mkdir -p $(BR)/build-package/;cd $(BR)/build-package/;$(cmake) $(WS_ROOT)/src/;make package;rm -rf $(BR)/build-package/_CPack_Packages;