1
0
Files
irix-657m-src/eoe/cmd/pmake/tests/cmdvar.test
2022-09-29 17:59:04 +03:00

17 lines
410 B
Plaintext

#
# Test file to make sure command-line variables are being set and overriding
# makefile variables
#
#include "../lib/mk/shx.mk"
cmd=junk
.MAKEFLAGS: "cmd=cmd"
.IGNORE: # if we don't do this, the bourne shell will abort on a failed if
a:
if test "$(cmd)" != "cmd" ; then
@echo Check MainParseArgs and Var_Set to see if command
@variables are being set properly.
@exit 1
else
@exit 0
fi