diff options
author | marcel <marcel@FreeBSD.org> | 2003-08-13 03:59:18 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-08-13 03:59:18 +0000 |
commit | 8e205a2f0435f04b31b91c85b8feeb21b6538852 (patch) | |
tree | 81e277df6684ffcdd37846e0bfa834966a8d6de7 /lib | |
parent | ec1e7cccbaa3dfdfb058ff7ff7cde84f8b21c675 (diff) | |
download | FreeBSD-src-8e205a2f0435f04b31b91c85b8feeb21b6538852.zip FreeBSD-src-8e205a2f0435f04b31b91c85b8feeb21b6538852.tar.gz |
Don't run verify directly as that would require the perl script to
have execute permissions. Run "perl verify" instead. Replace all
occurences of the hardcoding of ./verify with $(VERIFY) to allow
it to be overridden as well.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/test/Makefile | 7 | ||||
-rw-r--r-- | lib/libpthread/test/Makefile | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/lib/libkse/test/Makefile b/lib/libkse/test/Makefile index 31c74f7..aec6f3e 100644 --- a/lib/libkse/test/Makefile +++ b/lib/libkse/test/Makefile @@ -29,6 +29,7 @@ LDFLAGS_S := LIBS := -lkse # Flags passed to verify. "-v" or "-u" may be useful. +VERIFY = perl verify VFLAGS := all : default @@ -82,21 +83,21 @@ check_a : tests_a @cp $(bin)_a $(bin) .endfor @echo "Test static library:" - @./verify $(VFLAGS) $(CTESTS) $(PTESTS) + @$(VERIFY) $(VFLAGS) $(CTESTS) $(PTESTS) check_p : tests_p .for bin in $(CTESTS) $(BTESTS) @cp $(bin)_p $(bin) .endfor @echo "Test profile library:" - @./verify $(VFLAGS) $(CTESTS) $(PTESTS) + @$(VERIFY) $(VFLAGS) $(CTESTS) $(PTESTS) check_s : tests_s .for bin in $(CTESTS) $(BTESTS) @cp $(bin)_s $(bin) .endfor @echo "Test shared library:" - @./verify $(VFLAGS) $(CTESTS) $(PTESTS) + @$(VERIFY) $(VFLAGS) $(CTESTS) $(PTESTS) check : check_a check_p check_s diff --git a/lib/libpthread/test/Makefile b/lib/libpthread/test/Makefile index 31c74f7..aec6f3e 100644 --- a/lib/libpthread/test/Makefile +++ b/lib/libpthread/test/Makefile @@ -29,6 +29,7 @@ LDFLAGS_S := LIBS := -lkse # Flags passed to verify. "-v" or "-u" may be useful. +VERIFY = perl verify VFLAGS := all : default @@ -82,21 +83,21 @@ check_a : tests_a @cp $(bin)_a $(bin) .endfor @echo "Test static library:" - @./verify $(VFLAGS) $(CTESTS) $(PTESTS) + @$(VERIFY) $(VFLAGS) $(CTESTS) $(PTESTS) check_p : tests_p .for bin in $(CTESTS) $(BTESTS) @cp $(bin)_p $(bin) .endfor @echo "Test profile library:" - @./verify $(VFLAGS) $(CTESTS) $(PTESTS) + @$(VERIFY) $(VFLAGS) $(CTESTS) $(PTESTS) check_s : tests_s .for bin in $(CTESTS) $(BTESTS) @cp $(bin)_s $(bin) .endfor @echo "Test shared library:" - @./verify $(VFLAGS) $(CTESTS) $(PTESTS) + @$(VERIFY) $(VFLAGS) $(CTESTS) $(PTESTS) check : check_a check_p check_s |