commit
5151badbeb
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
set -e
|
||||||
|
|
||||||
export CFLAGS="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)"
|
export CFLAGS="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)"
|
||||||
export LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -Wl,--as-needed"
|
export LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -Wl,--as-needed"
|
||||||
|
@ -33,6 +34,10 @@ cmake ${CMAKEOPTS} \
|
||||||
make VERBOSE=1
|
make VERBOSE=1
|
||||||
|
|
||||||
|
|
||||||
|
make VERBOSE=1 test
|
||||||
|
./test
|
||||||
|
|
||||||
|
|
||||||
sudo make install
|
sudo make install
|
||||||
du -shc /etc/uhub/ /usr/bin/uhub* /usr/lib/uhub/
|
du -shc /etc/uhub/ /usr/bin/uhub* /usr/lib/uhub/
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
uhub_assert(X); \
|
uhub_assert(X); \
|
||||||
uhub_assert(X->cache); \
|
uhub_assert(X->cache); \
|
||||||
uhub_assert(X->capacity); \
|
uhub_assert(X->capacity); \
|
||||||
uhub_assert(X->length); \
|
|
||||||
uhub_assert(X->length <= X->capacity); \
|
uhub_assert(X->length <= X->capacity); \
|
||||||
uhub_assert(X->references > 0); \
|
uhub_assert(X->references > 0); \
|
||||||
uhub_assert(X->length == strlen(X->cache));
|
uhub_assert(X->length == strlen(X->cache));
|
||||||
|
|
Loading…
Reference in New Issue