浏览代码

Add check target to run both tests and checkheaders targets.

Originally committed as revision 15750 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun 17 年之前
父节点
当前提交
5bab853646
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Makefile

+ 3 - 1
Makefile

@@ -162,6 +162,8 @@ distclean::
 
 
 # regression tests
 # regression tests
 
 
+check: test checkheaders
+
 fulltest test: codectest libavtest seektest
 fulltest test: codectest libavtest seektest
 
 
 FFMPEG_REFFILE   = $(SRC_PATH)/tests/ffmpeg.regression.ref
 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)
 	$(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)
 -include $(VHOOK_DEPS)