opnsense-src/usr.bin/bmake/tests/shell/path_select/Makefile.test
Julio Merino 5ae59dec60 Move old fmake tests into bmake and hook them to the build.
This first step is mostly to prevent the code from rotting even further
and to ensure these do not get wiped when fmake's code is removed from
the tree.

These tests are currently being skipped because they detect the underlying
make is not fmake and thus disable themselves -- and the reason is that
some of the tests fail, possibly due to legitimate bugs.  Enabling them to
run against bmake will come separately.

Lastly, it would be ideal if these tests were fed upstream but they are
not ready for that yet.  In the interim, just put them under usr.bin/bmake/
while we sort things out.  The existence of a different unit-tests directory
within here makes me feel less guilty about this.

Change confirmed working with a clean amd64 build.
2014-05-14 18:43:13 +00:00

31 lines
651 B
Makefile

#
# Change the path for builtin shells. There are two methods to do this.
# This is the second of them when both a path and a name are specified.
# This selects a builtin shell according to the name, but executes it
# from the specified path.
#
# Be sure to include a meta-character into the command line, so that
# really our shell is executed.
#
# $FreeBSD$
#
.ifmake sh_test
.SHELL: name=sh path=${.CURDIR}/shell
sh_test:
@: This is the shell.
.elifmake csh_test
.SHELL: name=csh path=${.CURDIR}/shell
csh_test:
@: This is the C-shell.
.elifmake ksh_test
.SHELL: name=ksh path=${.CURDIR}/shell
ksh_test:
@: This is the Korn-shell.
.endif