X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/eac0319318c8b4d13e43179b0ebcc7de0ca11eab..549edd163e34a50091623b47881f2eefbdc53aca:/test/makefile diff --git a/test/makefile b/test/makefile index 31d67d46c..b8c104eae 100644 --- a/test/makefile +++ b/test/makefile @@ -24,29 +24,51 @@ LIB_MAKES = apt-pkg/makefile apt-inst/makefile SOURCE = scratch.cc include $(PROGRAM_H) +# Version compare tester PROGRAM=testextract -SLIBS = -lapt-inst -lapt-pkg +SLIBS = -lapt-pkg -lapt-inst LIB_MAKES = apt-pkg/makefile apt-inst/makefile SOURCE = testextract.cc include $(PROGRAM_H) -# Version compare tester -PROGRAM=versiontest +# 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 -LIB_MAKES = apt-pkg/makefile -SOURCE = versiontest.cc +SOURCE = hash.cc include $(PROGRAM_H) -# Version compare tester -PROGRAM=srcrfind +# Program for testing udevcdrom +PROGRAM=test_udevcdrom SLIBS = -lapt-pkg -LIB_MAKES = apt-pkg/makefile -SOURCE = srcrfind.cc +SOURCE = test_udevcdrom.cc include $(PROGRAM_H) -# Control Extracter tester -PROGRAM=extractcontrol -SLIBS = -lapt-pkg -lapt-inst -ldb2 -LIB_MAKES = apt-pkg/makefile -SOURCE = extractcontrol.cc +# Program for checking rpm versions +PROGRAM=rpmver +SLIBS = -lapt-pkg -lrpm +SOURCE = rpmver.cc include $(PROGRAM_H)