diff options
author | Dmitry Mikhirev | 2015-03-06 21:55:42 +0300 |
---|---|---|
committer | Dmitry Mikhirev | 2015-03-06 21:55:42 +0300 |
commit | e32303b41512e3386b83893b8331fb2d4f83be95 (patch) | |
tree | 7268e305930ab94661fec603362e1065b6fbc9e1 /tests.mk | |
parent | 68ff1e50c953ba421e8f266c4d9e2b690260c2c8 (diff) | |
download | make_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.tar.gz make_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.tar.bz2 make_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.tar.xz make_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.zip |
added php-like `S' option
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%: |