TT#111150 Run the test suite on «make test»

Change-Id: I5e9f4ab3f2b090d473a6a593cb7d7fbf885f4847
pu/github-actions
Guillem Jover 4 years ago
parent a72c272615
commit 4f70397cf9

@ -18,6 +18,9 @@ regenerate-asn1:
(cd asn1-compiled && asn1c -fskeletons-copy ../asn1/tcap.asn)
ln -s ../asn1/Makefile.compiled asn1-compiled/Makefile
test: all
$(MAKE) -C tests test
clean:
$(MAKE) -C asn1-compiled lib-clean
$(MAKE) -C src clean

@ -9,5 +9,15 @@ TESTS = basic encode
all: $(TESTS)
test:
for t in $(TESTS); do \
echo "== Testing $$t =="; \
if LD_LIBRARY_PATH=../src ./$$t; then \
echo; echo "=> $$t: PASS"; \
else \
echo; echo "=> $$t: FAIL"; \
fi; \
done
clean:
rm -f $(TESTS)

Loading…
Cancel
Save