X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/236f657b6dab66f31f4902cecfc03b4673f5bb98..7cf5c72a6d353ed5a7e340562c11e54c21c85e5e:/codec/Makefile.am diff --git a/codec/Makefile.am b/codec/Makefile.am index 968ebf9..a37faec 100644 --- a/codec/Makefile.am +++ b/codec/Makefile.am @@ -60,26 +60,4 @@ bincode_LDADD += ../mem/libmem.la bincode_LDADD += ../struct/libstruct.la bincode_LDADD += $(UTIL_LIBS) -EXTRA_DIST += base64.in base32.in hex.in -EXTRA_DIST += base64.ref base32.ref hex.ref -CLEANFILES += base64.out base32.out hex.out - -TEST_CODECS = base64 base32 hex -tests:: bincode - set -e; \ - for codec in $(TEST_CODECS); do \ - case $$codec in \ - hex) flags=lowerc,ignjunk width=64 ;; \ - base32) flags=ignjunk width=32 ;; \ - *) flags=ignjunk width=64 ;; \ - esac; \ - ./bincode -e -i'\t' -f$$flags -m$$width -o$$codec.out $$codec \ - $(srcdir)/$$codec.in; \ - cmp $$codec.out $(srcdir)/$$codec.ref; \ - ./bincode -d -fignjunk -f$$flags -o$$codec.out $$codec \ - $(srcdir)/$$codec.ref; \ - cmp $$codec.out $(srcdir)/$$codec.in; \ - echo "$$codec OK"; \ - done - ###----- That's all, folks --------------------------------------------------