freebsd-dev/bin/sh/tests/set-e/Makefile
Julio Merino 13de33a5dc Migrate tools/regression/bin/ tests to the new layout.
This change is a proof of concept on how to easily integrate existing
tests from the tools/regression/ hierarchy into the /usr/tests/ test
suite and on how to adapt them to the new layout for src.

To achieve these goals, this change:

- Moves tests from tools/regression/bin/<tool>/ to bin/<tool>/tests/.
- Renames the previous regress.sh files to legacy_test.sh.
- Adds Makefiles to build and install the tests and all their supporting
  data files into /usr/tests/bin/.
- Plugs the legacy_test test programs into the test suite using the new
  TAP backend for Kyua (appearing in 0.8) so that the code of the test
  programs does not have to change.
- Registers the new directories in the BSD.test.dist mtree file.

Reviewed by:	freebsd-testing
Approved by:	rpaulo (mentor)
2013-12-11 04:09:17 +00:00

45 lines
705 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
FILESDIR= ${TESTSBASE}/bin/sh/set-e
KYUAFILE= no
FILES= and1.0
FILES+= and2.1
FILES+= and3.0
FILES+= and4.0
FILES+= background1.0
FILES+= cmd1.0
FILES+= cmd2.1
FILES+= elif1.0
FILES+= elif2.0
FILES+= eval1.0
FILES+= eval2.1
FILES+= for1.0
FILES+= func1.0
FILES+= func2.1
FILES+= if1.0
FILES+= if2.0
FILES+= if3.0
FILES+= not1.0
FILES+= not2.0
FILES+= or1.0
FILES+= or2.0
FILES+= or3.1
FILES+= pipe1.1
FILES+= pipe2.0
FILES+= return1.0
FILES+= semi1.1
FILES+= semi2.1
FILES+= subshell1.0
FILES+= subshell2.1
FILES+= until1.0
FILES+= until2.0
FILES+= until3.0
FILES+= while1.0
FILES+= while2.0
FILES+= while3.0
.include <bsd.test.mk>