]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/Makefile
Add unit test that loops calling cupsGetDests.
[thirdparty/cups.git] / cups / Makefile
index 94fed7a9f8178e87699929903875abd53910324f..96dd126722266d6d2c2945e840af9824430029f7 100644 (file)
@@ -89,6 +89,7 @@ TESTOBJS      = \
                testcups.o \
                testdest.o \
                testfile.o \
+               testgetdests.o \
                testhttp.o \
                testi18n.o \
                testipp.o \
@@ -158,6 +159,7 @@ UNITTARGETS =       \
                testcups \
                testdest \
                testfile \
+               testgetdests \
                testhttp \
                testi18n \
                testipp \
@@ -461,6 +463,16 @@ testfile:  testfile.o $(LIBCUPSSTATIC)
        ./testfile
 
 
+#
+# testgetdests (dependency on static CUPS library is intentional)
+#
+
+testgetdests:  testgetdests.o $(LIBCUPSSTATIC)
+       echo Linking $@...
+       $(LD_CC) $(LDFLAGS) -o $@ testgetdests.o $(LIBCUPSSTATIC) \
+               $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
+
+
 #
 # testhttp (dependency on static CUPS library is intentional)
 #