X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/94cc6656cd266c2f0d8eb5bc1201fa091744c46c..ca9488ce89bd4895db0341db393ec03696b4ebd3:/Makefile.am diff --git a/Makefile.am b/Makefile.am index fed99c1..7023885 100644 --- a/Makefile.am +++ b/Makefile.am @@ -76,15 +76,21 @@ engine_la_SOURCES += src/engine/music-modplug.c src/engine/modplug-types.h engine_la_LIBADD += $(LIBMODPLUG_LIBS) endif -check_PROGRAMS = test/decodeindex -test_decodeindex_LDADD = libupkg.la libgnu.la +check_LTLIBRARIES = libtest.la +check_PROGRAMS = test/decodeindex test/pcxrle + +libtest_la_SOURCES = test/common.c + +test_decodeindex_LDADD = libupkg.la libgnu.la libtest.la $(test_decodeindex_OBJECTS): $(gnulib_headers) +test_pcxrle_LDADD = src/engine/pcx.lo libupkg.la libgnu.la libtest.la +$(test_pcxrle_OBJECTS): $(gnulib_headers) TESTS_ENVIRONMENT = SHELL='$(SHELL)' EXEEXT='$(EXEEXT)' TEST_EXTENSIONS = .sh SH_LOG_COMPILER = $(SHELL) -TESTS = tests/libupkg-index-decode.sh +TESTS = tests/libupkg-index-decode.sh tests/engine-pcx-rlencode.sh EXTRA_DIST += $(TESTS) # Supporting rules for GObject Builder