]> git.saurik.com Git - apt.git/blobdiff - test/makefile
[ABI break] Allow pinning by codename (closes: #97564)
[apt.git] / test / makefile
index 466c073c7110f39f5d6a99a09b2807b3fe2e9d6d..a9dbdc34dfb9935ef92a20f96373b23a3cff3c14 100644 (file)
@@ -11,6 +11,12 @@ 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-inst -lapt-pkg
@@ -18,12 +24,6 @@ LIB_MAKES = apt-pkg/makefile apt-inst/makefile
 SOURCE = scratch.cc
 include $(PROGRAM_H)
 
-PROGRAM=testextract
-SLIBS = -lapt-inst -lapt-pkg
-LIB_MAKES = apt-pkg/makefile apt-inst/makefile
-SOURCE = testextract.cc
-include $(PROGRAM_H)
-
 # Version compare tester
 PROGRAM=versiontest
 SLIBS = -lapt-pkg 
@@ -32,8 +32,44 @@ SOURCE = versiontest.cc
 include $(PROGRAM_H)
 
 # Version compare tester
-PROGRAM=srcrfind
+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 = srcrfind.cc
+SOURCE = hash.cc
+include $(PROGRAM_H)
+
+# Program for checking rpm versions
+PROGRAM=rpmver
+SLIBS = -lapt-pkg -lrpm
+SOURCE = rpmver.cc
 include $(PROGRAM_H)