mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 23:36:07 -05:00
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.
21 lines
692 B
Makefile
21 lines
692 B
Makefile
#
|
|
# Test that we can replace the shell and set all the shell parameters
|
|
# (except meta and builtin which have their own test). This is done by
|
|
# using a shell script for the shell that echoes all command line
|
|
# arguments and its standard input. The shell name should not be one of
|
|
# the builtin shells.
|
|
#
|
|
# XXX There seems to be a problem here in -j1 mode: for the line without
|
|
# @- make should switch on echoing again, but it doesn't.
|
|
#
|
|
# $FreeBSD$
|
|
|
|
.SHELL: name="shell" path="${.CURDIR}/shell" \
|
|
quiet="be quiet" echo="be verbose" filter="be verbose" \
|
|
echoFlag="x" errFlag="y" \
|
|
hasErrCtl=y check="check errors" ignore="ignore errors"
|
|
|
|
.PHONY: test1
|
|
test1:
|
|
-@funny $$
|
|
funnier $$
|