summaryrefslogtreecommitdiff
path: root/test/libapt/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-03-13 14:11:22 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-03-13 14:11:22 +0100
commitea5624c3d04c35f5a269b6f7431c135330c9b9b5 (patch)
tree2d1e21d2565d67aa75aa3217152f87f2b3000fe7 /test/libapt/makefile
parent2bb255740bf18b5e0524fe833523303abb5c9051 (diff)
* apt-pkg/deb/debversion.cc:
- consider absent of debian revision equivalent to 0 (Closes: #573592) This moves the existing testcase for version comparison to "my" directory, adds a few more tests (e.g. the tests used in cupt) and rewrites the testcases runner: The runner does now call dpkg --compare-versions to check what dpkg thinks about the comparison - all done in less code ;)
Diffstat (limited to 'test/libapt/makefile')
-rw-r--r--test/libapt/makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libapt/makefile b/test/libapt/makefile
index cb76d5ee6..98bdb3348 100644
--- a/test/libapt/makefile
+++ b/test/libapt/makefile
@@ -29,3 +29,9 @@ PROGRAM = commandlineasstring${BASENAME}
SLIBS = -lapt-pkg
SOURCE = commandlineasstring_test.cc
include $(PROGRAM_H)
+
+# Program for testing debians version comparing
+PROGRAM = compareversion${BASENAME}
+SLIBS = -lapt-pkg
+SOURCE = compareversion_test.cc
+include $(PROGRAM_H)