4 cd ${top_srcdir}/testsuite
/
5 for c
in $
(find .
-name \
*.cygport
-not -path './logic/*')
8 cygport
=$
(basename ${c})
10 test -d ${top_builddir}/testsuite
/$test || mkdir
-p ${top_builddir}/testsuite
/$test
11 cd ${top_builddir}/testsuite
/$test
12 cp -f ${top_srcdir}/testsuite
/$test/$cygport $cygport
14 ${top_builddir}/bin
/cygport-inplace
$cygport vars ARCHES BUILD_REQUIRES CROSS_HOST INHERITED
>vars
17 if [ -a ${top_srcdir}/testsuite
/$test/vars
];
19 diff -u ${top_srcdir}/testsuite
/$test/vars vars || test_failed
=1
21 # if CREATE_VARS is set, create the expected vars file for use in future testing
22 if [ -z ${CREATE_VARS+x} ]
24 echo "can't verify vars as expected vars ${top_srcdir}/testsuite/$test/vars not found." >&2
27 cp vars
${top_srcdir}/testsuite
/$test/vars
32 if [ -n "$test_failed" ]