blob: 688a8dc9a88735ef0102dbc1784c2e49976f1886 [file] [log] [blame]
# if jq is available...
if whence jq > /dev/null; then
# find os=fuchsia tests in tests.json and print their package
compadd $(jq -r 'map(.test | select(.os == "fuchsia") | select(.path) | .path | split("/")[3]) | unique | .[]' ${fuchsia_dir}/${fuchsia_build_dir}/tests.json)
fi