blob: b6c58ef068202f49065bf83da9d6b8437d320b49 [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(.install_path) | .install_path | split("/")[3]) | unique | .[]' ${fuchsia_dir}/${fuchsia_build_dir}/tests.json)
fi