Changeset View
Changeset View
Standalone View
Standalone View
head/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
fi | fi | ||||
export LC_ALL=C | export LC_ALL=C | ||||
readonly ORIGINDIR=$(realpath $(dirname $0)) | readonly ORIGINDIR=$(realpath $(dirname $0)) | ||||
readonly TOPDIR=$(realpath ${ORIGINDIR}/../../../../..) | readonly TOPDIR=$(realpath ${ORIGINDIR}/../../../../..) | ||||
readonly CONTRIB_TESTDIR=${TOPDIR}/cddl/contrib/opensolaris/cmd/dtrace/test/tst | readonly CONTRIB_TESTDIR=${TOPDIR}/cddl/contrib/opensolaris/cmd/dtrace/test/tst | ||||
for class in common i386; do | for class in common i386 amd64; do | ||||
for group in $(find ${CONTRIB_TESTDIR}/$class -mindepth 1 -maxdepth 1 -type d); do | for group in $(find ${CONTRIB_TESTDIR}/$class -mindepth 1 -maxdepth 1 -type d); do | ||||
genmakefile $class $(basename $group) | genmakefile $class $(basename $group) | ||||
done | done | ||||
done | done |