]> git.saurik.com Git - apt.git/blobdiff - test/makefile
add a method to insert packages into dpkg's status file
[apt.git] / test / makefile
index 49a501d3dea3a9cc144d83928382fd8055bab349..52adb96a297c6d47435a6bb4234cde6e0709c7e0 100644 (file)
@@ -11,23 +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 
-LIB_MAKES = apt-pkg/makefile
+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 
-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)
+
+# Program for checking rpm versions
+#PROGRAM=rpmver
+#SLIBS = -lapt-pkg -lrpm
+#SOURCE = rpmver.cc
+#include $(PROGRAM_H)