X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8c515d6281328e490673b8dc94a7d69987d5a027..8545b536e3459a06fa007e2c307a77188e5de4b1:/test/makefile diff --git a/test/makefile b/test/makefile index c12e05f1f..52adb96a2 100644 --- a/test/makefile +++ b/test/makefile @@ -11,14 +11,64 @@ SLIBS = SOURCE = mthdcat.cc include $(PROGRAM_H) +# Program for testing methods +PROGRAM=uritest +SLIBS = -lapt-pkg +SOURCE = uri.cc +include $(PROGRAM_H) + # Scratch program to test incomplete code fragments in PROGRAM=scratch-test -SLIBS = -lapt-pkg +SLIBS = -lapt-inst -lapt-pkg +LIB_MAKES = apt-pkg/makefile apt-inst/makefile SOURCE = scratch.cc include $(PROGRAM_H) # Version compare tester -PROGRAM=versiontest +PROGRAM=testextract +SLIBS = -lapt-pkg -lapt-inst +LIB_MAKES = apt-pkg/makefile apt-inst/makefile +SOURCE = testextract.cc +include $(PROGRAM_H) + +# Program for testing the config file parser +PROGRAM=conftest_clear +SLIBS = -lapt-pkg +SOURCE = conf_clear.cc +include $(PROGRAM_H) + +# Program for testing the config file parser +PROGRAM=conftest +SLIBS = -lapt-pkg +SOURCE = conf.cc +include $(PROGRAM_H) + +# Program for testing the tar/deb extractor +PROGRAM=testdeb +SLIBS = -lapt-pkg -lapt-inst +SOURCE = testdeb.cc +include $(PROGRAM_H) + +# Program for testing tar extraction +PROGRAM=extract-control +SLIBS = -lapt-pkg -lapt-inst +SOURCE = extract-control.cc +include $(PROGRAM_H) + +# Program for testing hashes +PROGRAM=hash SLIBS = -lapt-pkg -SOURCE = versiontest.cc +SOURCE = hash.cc include $(PROGRAM_H) + +# Program for testing udevcdrom +PROGRAM=test_udevcdrom +SLIBS = -lapt-pkg +SOURCE = test_udevcdrom.cc +include $(PROGRAM_H) + +# Program for checking rpm versions +#PROGRAM=rpmver +#SLIBS = -lapt-pkg -lrpm +#SOURCE = rpmver.cc +#include $(PROGRAM_H)