diff options
Diffstat (limited to 'tests.mk')
-rw-r--r-- | tests.mk | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,7 +2,7 @@ ifneq ($(findstring 4.,$(MAKE_VERSION)),4.) $(error you need GNU make 4.x to run tests) endif -NUMTESTS = 34 +NUMTESTS = 36 tests := $(foreach num,$(shell seq -f%03g $(NUMTESTS)),test$(num)) load pcre.so @@ -129,6 +129,13 @@ endef test034 = "$(m line\d$,$(subj034))" = "line2" -a -z "$(m line\d$,$(subj034),D)" -a \ "$(m test$,test,D)" = "test" +# test `S' option +# no way to check directly that it really works, so just enshure that +# it does not break anything +# TODO: add indirect (speed) test +test035 = "$(m test,test,S)" = test +test036 = "$(s a,x,a,S)" = "x" + ### END OF TEST EXPRESSIONS ### test%: |