003 File Manager
Current Path:
/usr/src/tools/tools/shlib-compat/test
usr
/
src
/
tools
/
tools
/
shlib-compat
/
test
/
📁
..
📄
Makefile
(1.01 KB)
📄
Makefile.inc
(192 B)
📄
Versions.def
(83 B)
📁
libtest1
📁
libtest2
📁
libtest3
📁
libtestsys
📄
regress.1-1.out
(266 B)
📄
regress.1-2.out
(344 B)
📄
regress.1-3.out
(269 B)
📄
regress.2-1.out
(344 B)
📄
regress.2-2.out
(320 B)
📄
regress.2-3.out
(347 B)
📄
regress.3-1.out
(269 B)
📄
regress.3-2.out
(347 B)
📄
regress.3-3.out
(266 B)
📄
regress.m4
(2.05 KB)
📄
regress.sh
(481 B)
📄
regress.t
(70 B)
Editing: Makefile
# $FreeBSD$ SUBDIR= libtest1 \ libtest2 \ libtest3 \ libtestsys NUMTEST=3 .PHONY: test regress.sh gentests gendiffs cleandiffs test: all sh regress.t prove: all prove ${.CURDIR} regress.sh: echo 'run() { ../shlib-compat.py --no-dump -vv libtest$$1/libtest$$1.so.0 libtest$$2/libtest$$2.so.0; }' > ${.TARGET} N=`expr ${NUMTEST} \* ${NUMTEST}`; echo "echo 1..$$N" >> ${.TARGET} echo 'REGRESSION_START($$1)' >> ${.TARGET} for a in `jot ${NUMTEST}`; do for b in `jot ${NUMTEST}`; do echo "REGRESSION_TEST(\`$$a-$$b', \`run $$a $$b')"; done; done >> ${.TARGET} echo "REGRESSION_END()" >> ${.TARGET} gentests: regress.sh for a in `jot ${NUMTEST}`; do for b in `jot ${NUMTEST}`; do ../shlib-compat.py -vv libtest$$a/libtest$$a.so.0 libtest$$b/libtest$$b.so.0 > regress.$$a-$$b.out; done; done gendiffs: for a in `jot ${NUMTEST}`; do for b in `jot ${NUMTEST}`; do (diff -ur libtest$$a libtest$$b > regress.$$a-$$b.diff || exit 0); done; done cleandiffs: rm -f regress.*-*.diff clean: cleandiffs .include <bsd.subdir.mk>
Upload File
Create Folder