Home | History | Annotate | Download | only in dist

Lines Matching refs:Atffile

50 # Obtains the list of test programs and subdirectories referenced by an Atffile.
52 # Any globs within the Atffile are expanded relative to the directory in which
53 # the Atffile lives.
55 # \param atffile The path to the Atffile to process.
57 # \post Prints the list of files referenced by the Atffile on stdout.
59 local atffile="${1}"; shift
61 local dir="$(dirname "${atffile}")"
63 local globs="$(grep '^tp-glob:' "${atffile}" | cut -d ' ' -f 2-)"
64 local files="$(grep '^tp:' "${atffile}" | cut -d ' ' -f 2-)"
66 for file in ${files} $(cd "$(dirname "${atffile}")" && echo ${globs}); do
74 # Converts an Atffile to a Kyuafile.
76 # \param atffile The path to the Atfffile to convert.
79 local atffile="${1}"; shift
82 lib_info "Converting ${atffile} -> ${kyuafile}"
84 local test_suite="$(grep 'prop:.*test-suite.*' "${atffile}" \
87 local dir="$(dirname "${atffile}")"
91 for file in $(extract_files "${atffile}"); do
92 if test -f "${dir}/${file}/Atffile"; then
122 # an Atffile and the test programs.
129 for atffile in $(cd "${source_root}" && find . -name Atffile); do
130 local subdir="$(echo "${atffile}" | sed 's,Atffile$,,;s,^\./,,')"
131 convert_atffile "${source_root}/${subdir}Atffile" \
173 [ -f "${source_root}/Atffile" ] || \
174 lib_error "${source_root} is not a test suite; missing Atffile"