OSDN Git Service

Add check target to run both tests and checkheaders targets.
authorDiego Biurrun <diego@biurrun.de>
Thu, 30 Oct 2008 10:14:57 +0000 (10:14 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 30 Oct 2008 10:14:57 +0000 (10:14 +0000)
Originally committed as revision 15750 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index cb67a9b..ad3daf0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,8 @@ distclean::
 
 # regression tests
 
+check: test checkheaders
+
 fulltest test: codectest libavtest seektest
 
 FFMPEG_REFFILE   = $(SRC_PATH)/tests/ffmpeg.regression.ref
@@ -331,6 +333,6 @@ tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
        $(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)
 
 
-.PHONY: lib videohook documentation *test regtest-* swscale-error alltools
+.PHONY: lib videohook documentation *test regtest-* swscale-error alltools check
 
 -include $(VHOOK_DEPS)