1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

rpm: perform tests during packaging

This commit is contained in:
Steffen Vogel 2017-06-29 21:10:33 +02:00
parent facba31659
commit aa77c82b82
3 changed files with 9 additions and 2 deletions

View file

@ -34,7 +34,7 @@
#include "node.h"
#include "list.h"
#if ZMQ_VERSION_MAJOR >= 4 && ZMQ_VERSION_MINOR >= 2
#if ZMQ_VERSION_MAJOR > 4 || (ZMQ_VERSION_MAJOR == 4 && ZMQ_VERSION_MINOR >= 2)
#define ZMQ_BUILD_DISH 1
#endif

View file

@ -21,7 +21,10 @@
*********************************************************************************/
#include <zmq.h>
#include <zmq_utils.h>
#if ZMQ_VERSION_MAJOR < 4 || (ZMQ_VERSION_MAJOR == 4 && ZMQ_VERSION_MINOR <= 1)
#include <zmq_utils.h>
#endif
#include "nodes/zeromq.h"
#include "utils.h"

View file

@ -47,6 +47,10 @@ rm -rf %{?buildroot}
make PREFIX=/usr DESTDIR=%{?buildroot} install
make PREFIX=/usr DESTDIR=%{?buildroot} install-doc
%check
make run-unit-tests
make run-integration-tests
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig