opnsense-src/usr.bin/indent/tests/Makefile
Piotr Pawel Stefaniak 1d01804309 indent(1): restore working -pcs
My previous indent(1) commit accidentally broke the -pcs option (which adds
space between function name and opening parenthesis in function calls) by
copying all but one of a few conditions in an if clause. Reinstate the
condition.

Add a regression test to lower the chances of breaking it again.

Correct a comment with description of what the option does.
2018-06-01 19:56:41 +00:00

51 lines
1.4 KiB
Makefile

# $FreeBSD$
PACKAGE= tests
${PACKAGE}FILES+= binary.0
${PACKAGE}FILES+= binary.0.stdout
${PACKAGE}FILES+= comments.0
${PACKAGE}FILES+= comments.0.stdout
${PACKAGE}FILES+= declarations.0
${PACKAGE}FILES+= declarations.0.stdout
${PACKAGE}FILES+= elsecomment.0
${PACKAGE}FILES+= elsecomment.0.stdout
${PACKAGE}FILES+= elsecomment.0.pro
${PACKAGE}FILES+= float.0
${PACKAGE}FILES+= float.0.stdout
${PACKAGE}FILES+= label.0
${PACKAGE}FILES+= label.0.stdout
${PACKAGE}FILES+= label.0.pro
${PACKAGE}FILES+= list_head.0
${PACKAGE}FILES+= list_head.0.stdout
${PACKAGE}FILES+= nsac.0
${PACKAGE}FILES+= nsac.0.stdout
${PACKAGE}FILES+= nsac.0.pro
${PACKAGE}FILES+= offsetof.0
${PACKAGE}FILES+= offsetof.0.stdout
${PACKAGE}FILES+= parens.0
${PACKAGE}FILES+= parens.0.stdout
${PACKAGE}FILES+= parens.0.pro
${PACKAGE}FILES+= pcs.0
${PACKAGE}FILES+= pcs.0.stdout
${PACKAGE}FILES+= pcs.0.pro
${PACKAGE}FILES+= sac.0
${PACKAGE}FILES+= sac.0.stdout
${PACKAGE}FILES+= sac.0.pro
${PACKAGE}FILES+= struct.0
${PACKAGE}FILES+= struct.0.stdout
${PACKAGE}FILES+= surplusbad.0
${PACKAGE}FILES+= surplusbad.0.stdout
${PACKAGE}FILES+= surplusbad.0.pro
${PACKAGE}FILES+= types_from_file.0
${PACKAGE}FILES+= types_from_file.0.stdout
${PACKAGE}FILES+= types_from_file.0.list
${PACKAGE}FILES+= types_from_file.0.pro
${PACKAGE}FILES+= wchar.0
${PACKAGE}FILES+= wchar.0.stdout
ATF_TESTS_SH+= functional_test
BINDIR= ${TESTSDIR}
.include <bsd.test.mk>