opnsense-src/bin/sh/tests/execution/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

53 lines
937 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
FILESDIR= ${TESTSBASE}/bin/sh/execution
KYUAFILE= no
FILES= bg1.0
FILES+= bg2.0
FILES+= bg3.0
FILES+= bg4.0
FILES+= bg5.0
FILES+= bg6.0 bg6.0.stdout
FILES+= bg7.0
FILES+= bg8.0
FILES+= bg9.0
FILES+= bg10.0 bg10.0.stdout
FILES+= fork1.0
FILES+= fork2.0
FILES+= fork3.0
FILES+= func1.0
FILES+= func2.0
FILES+= func3.0
FILES+= hash1.0
FILES+= int-cmd1.0
FILES+= killed1.0
FILES+= killed2.0
FILES+= not1.0
FILES+= not2.0
FILES+= path1.0
FILES+= redir1.0
FILES+= redir2.0
FILES+= redir3.0
FILES+= redir4.0
FILES+= redir5.0
FILES+= redir6.0
FILES+= redir7.0
FILES+= set-n1.0
FILES+= set-n2.0
FILES+= set-n3.0
FILES+= set-n4.0
FILES+= set-x1.0
FILES+= set-x2.0
FILES+= set-x3.0
FILES+= shellproc1.0
FILES+= subshell1.0 subshell1.0.stdout
FILES+= subshell2.0
FILES+= subshell3.0
FILES+= subshell4.0
FILES+= unknown1.0
FILES+= var-assign1.0
.include <bsd.test.mk>