diff --git a/.drone.yml b/.drone.yml index 2301c49..9bf77aa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,11 @@ pipeline: build: - image: metwork/mfcom-${OS_VERSION}-buildimage:integration + image: metwork/mfxxx-${OS_VERSION}-buildimage:integration commands: - /opt/metwork-mfext/bin/mfext_wrapper -- make install + - /opt/metwork-mfext/bin/mfext_wrapper -- make test + - /opt/metwork-mfext/bin/mfext_wrapper -- make clean matrix: OS_VERSION: - centos6 - - centos7 diff --git a/Makefile b/Makefile index 710e66d..cbc29a2 100644 --- a/Makefile +++ b/Makefile @@ -7,3 +7,5 @@ clean: install: cd src && $(MAKE) install +test: + cd src && $(MAKE) test diff --git a/src/Makefile b/src/Makefile index 2c31ff8..0241a96 100644 --- a/src/Makefile +++ b/src/Makefile @@ -24,6 +24,9 @@ LIBS= all: $(OBJECTS) $(BINARIES) $(LIBS) +test: test_log_proxy + ./test_log_proxy && echo "OK" + clean: rm -f $(OBJECTS) $(BINARIES) core.* vgcore.*