]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Let installcheck run unit tests as well
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 16 Jul 2010 15:27:38 +0000 (17:27 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 16 Jul 2010 15:27:38 +0000 (17:27 +0200)
Makefile.in

index 33d9f4480cb0c8d0ce30d4b492343c7c264d341c..c6ff975070f6efaf52604d5160023f9b4bd6ff02 100644 (file)
@@ -81,8 +81,9 @@ distclean: clean
        rm -rf Makefile dev.mk config.h config.log config.status .deps version.c
 
 .PHONY: installcheck
-installcheck:
-       CCACHE=$(bindir)/ccache $(srcdir)/test.sh
+installcheck: ccache$(EXEEXT) test/main$(EXEEXT)
+       test/main$(EXEEXT)
+       CCACHE=$(bindir)/ccache CC='$(CC)' $(srcdir)/test.sh
 
 .c.o:
        $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<