diff options
author | nia <nia@pkgsrc.org> | 2020-05-24 05:35:51 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-05-24 05:35:51 +0000 |
commit | 8c218dc01b376e7a560d2b7fcbacca532b75fe4b (patch) | |
tree | 934e95ccea73f17c420a7617a820bc6a2596e583 /devel/bmake/files/unit-tests/modmatch.mk | |
parent | 41f4d684ea949e703f7e4cdb02fffeb278231228 (diff) | |
download | pkgsrc-8c218dc01b376e7a560d2b7fcbacca532b75fe4b.tar.gz |
Import bmake-BMAKE
Diffstat (limited to 'devel/bmake/files/unit-tests/modmatch.mk')
-rw-r--r-- | devel/bmake/files/unit-tests/modmatch.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/bmake/files/unit-tests/modmatch.mk b/devel/bmake/files/unit-tests/modmatch.mk index 48a1befb58b..45199287acd 100644 --- a/devel/bmake/files/unit-tests/modmatch.mk +++ b/devel/bmake/files/unit-tests/modmatch.mk @@ -15,7 +15,9 @@ res = no res = OK .endif -all: +all: show-libs check-cclass + +show-libs: @for x in $X; do ${.MAKE} -f ${MAKEFILE} show LIB=$$x; done @echo "Mscanner=${res}" @@ -23,3 +25,10 @@ show: @echo 'LIB=${LIB} X_LIBS:M$${LIB$${LIB:tu}} is "${X_LIBS:M${LIB${LIB:tu}}}"' @echo 'LIB=${LIB} X_LIBS:M*/lib$${LIB}.a is "${X_LIBS:M*/lib${LIB}.a}"' @echo 'LIB=${LIB} X_LIBS:M*/lib$${LIB}.a:tu is "${X_LIBS:M*/lib${LIB}.a:tu}"' + +LIST= One Two Three Four five six seven + +check-cclass: + @echo Upper=${LIST:M[A-Z]*} + @echo Lower=${LIST:M[^A-Z]*} + @echo nose=${LIST:M[^s]*[ex]} |