]> git.saurik.com Git - apt.git/blobdiff - test/makefile
Fixed the resetting of Dir with "dir {};". Closes: #87323
[apt.git] / test / makefile
index eae6230d01222c0a825cb67d45a2e83228a085cf..e3b2ac524740d72f71dc8024b6210c3becca3223 100644 (file)
@@ -11,20 +11,48 @@ SLIBS =
 SOURCE = mthdcat.cc
 include $(PROGRAM_H)
 
 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
 # 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
 SLIBS = -lapt-pkg 
 SOURCE = scratch.cc
 include $(PROGRAM_H)
 
 # Version compare tester
 PROGRAM=versiontest
 SLIBS = -lapt-pkg 
+LIB_MAKES = apt-pkg/makefile
 SOURCE = versiontest.cc
 include $(PROGRAM_H)
 
 # Version compare tester
 SOURCE = versiontest.cc
 include $(PROGRAM_H)
 
 # Version compare tester
-PROGRAM=srcrfind
-SLIBS = -lapt-pkg 
-SOURCE = srcrfind.cc
+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
+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)
 include $(PROGRAM_H)
+
+# Program for testing tar extraction
+PROGRAM=extract-control
+SLIBS = -lapt-pkg -lapt-inst
+SOURCE = extract-control.cc
+include $(PROGRAM_H)
+