mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
mkfiles: check for test/mkfile when recursing
Some programs have test directories without a test mkfile; this causes spurious errors. Discriminate more carefully.
This commit is contained in:
parent
bf398d28c3
commit
ace81cb1ae
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ clean:V:
|
||||||
man:V: $MANFILES
|
man:V: $MANFILES
|
||||||
|
|
||||||
test:VQ: $PROGS
|
test:VQ: $PROGS
|
||||||
if(test -d ./test)
|
if(test -f ./test/mkfile)
|
||||||
cd test && mk $MKFLAGS test
|
cd test && mk $MKFLAGS test
|
||||||
if not
|
if not
|
||||||
status=()
|
status=()
|
||||||
|
|
|
@ -63,7 +63,7 @@ $MAN/%: %.man
|
||||||
man:V: $MAN/$TARG
|
man:V: $MAN/$TARG
|
||||||
|
|
||||||
test:QV: $O.out $TESTDEP
|
test:QV: $O.out $TESTDEP
|
||||||
if(test -d ./test){
|
if(test -f ./test/mkfile){
|
||||||
pwd
|
pwd
|
||||||
@{cd ./test && mk $MKFLAGS test}
|
@{cd ./test && mk $MKFLAGS test}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue