⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testing.mak

📁 Exuberant Ctags is a multilanguage reimplementation of the much-underused ctags(1) program and is i
💻 MAK
字号:
#	$Id: testing.mak,v 1.15 2006/05/29 01:29:00 darren Exp $##	Copyright (c) 1996-2002, Darren Hiebert##	Development makefile for Exuberant Ctags, used to build releases.#	Requires GNU make.CTAGS_TEST = ctagsCTAGS_REF = ctags.refTEST_OPTIONS = -nu --c-kinds=+lpxDIFF_OPTIONS = -U 0 -I '^!_TAG'DIFF = if diff $(DIFF_OPTIONS) tags.ref tags.test > $(DIFF_FILE); then \		rm -f tags.ref tags.test $(DIFF_FILE) ; \		echo "Passed" ; \	  else \		echo "FAILED: differences left in $(DIFF_FILE)" ; \	  fi.PHONY: test test.include test.fields test.extra test.linedir test.etags test.eiffel test.linuxtest: test.include test.fields test.extra test.linedir test.etags test.eiffel test.linuxtest.%: DIFF_FILE = $@.diffREF_INCLUDE_OPTIONS = $(TEST_OPTIONS) --format=1TEST_INCLUDE_OPTIONS = $(TEST_OPTIONS) --format=1test.include: $(CTAGS_TEST) $(CTAGS_REF)	@ echo -n "Testing tag inclusion..."	@ $(CTAGS_REF) -R $(REF_INCLUDE_OPTIONS) -o tags.ref Test	@ $(CTAGS_TEST) -R $(TEST_INCLUDE_OPTIONS) -o tags.test Test	@- $(DIFF)REF_FIELD_OPTIONS = $(TEST_OPTIONS) --fields=+afmikKlnsSzTEST_FIELD_OPTIONS = $(TEST_OPTIONS) --fields=+afmikKlnsStztest.fields: $(CTAGS_TEST) $(CTAGS_REF)	@ echo -n "Testing extension fields..."	@ $(CTAGS_REF) -R $(REF_FIELD_OPTIONS) -o tags.ref Test	@ $(CTAGS_TEST) -R $(TEST_FIELD_OPTIONS) -o tags.test Test	@- $(DIFF)REF_EXTRA_OPTIONS = $(TEST_OPTIONS) --extra=+fq --format=1TEST_EXTRA_OPTIONS = $(TEST_OPTIONS) --extra=+fq --format=1test.extra: $(CTAGS_TEST) $(CTAGS_REF)	@ echo -n "Testing extra tags..."	@ $(CTAGS_REF) -R $(REF_EXTRA_OPTIONS) -o tags.ref Test	@ $(CTAGS_TEST) -R $(TEST_EXTRA_OPTIONS) -o tags.test Test	@- $(DIFF)REF_LINEDIR_OPTIONS = $(TEST_OPTIONS) --line-directives -nTEST_LINEDIR_OPTIONS = $(TEST_OPTIONS) --line-directives -ntest.linedir: $(CTAGS_TEST) $(CTAGS_REF)	@ echo -n "Testing line directives..."	@ $(CTAGS_REF) $(REF_LINEDIR_OPTIONS) -o tags.ref Test/line_directives.c	@ $(CTAGS_TEST) $(TEST_LINEDIR_OPTIONS) -o tags.test Test/line_directives.c	@- $(DIFF)REF_ETAGS_OPTIONS = -eTEST_ETAGS_OPTIONS = -etest.etags: $(CTAGS_TEST) $(CTAGS_REF)	@ echo -n "Testing TAGS output..."	@ $(CTAGS_REF) -R $(REF_ETAGS_OPTIONS) -o tags.ref Test	@ $(CTAGS_TEST) -R $(TEST_ETAGS_OPTIONS) -o tags.test Test	@- $(DIFF)REF_EIFFEL_OPTIONS = $(TEST_OPTIONS) --format=1 --languages=eiffelTEST_EIFFEL_OPTIONS = $(TEST_OPTIONS) --format=1 --languages=eiffelEIFFEL_DIRECTORY = $(ISE_EIFFEL)/librarytest.eiffel: $(CTAGS_TEST) $(CTAGS_REF)	@ echo -n "Testing Eiffel tag inclusion..."	@ $(CTAGS_REF) -R $(REF_EIFFEL_OPTIONS) -o tags.ref $(EIFFEL_DIRECTORY)	@ $(CTAGS_TEST) -R $(TEST_EIFFEL_OPTIONS) -o tags.test $(EIFFEL_DIRECTORY)	@- $(DIFF)REF_LINUX_OPTIONS = $(TEST_OPTIONS) --fields=kTEST_LINUX_OPTIONS = $(TEST_OPTIONS) --fields=kLINUX_DIRECTORY := $(shell ls -dtr /usr/src/kernels/* | tail -1)test.linux: $(CTAGS_TEST) $(CTAGS_REF)	@ echo -n "Testing Linux tag inclusion..."	@ $(CTAGS_REF) -R $(REF_LINUX_OPTIONS) -o tags.ref $(LINUX_DIRECTORY)	@ $(CTAGS_TEST) -R $(TEST_LINUX_OPTIONS) -o tags.test $(LINUX_DIRECTORY)	@- $(DIFF)TEST_ARTIFACTS = test.*.diff tags.ref tags.testclean-test:	rm -f $(TEST_ARTIFACTS)# vi:ts=4 sw=4

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -