mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-24 10:23:43 +08:00
691acfc28d
These take over two minutes under ASAN (like ~40 seconds without, so they aren't quick to begin with), and don't really give any additional insight. So we skip them to save time
14 lines
430 B
Fish
14 lines
430 B
Fish
#RUN: %fish -C 'set -l fish %fish' %s
|
|
# disable on CI ASAN because it's suuuper slow
|
|
#REQUIRES: test -z "$FISH_CI_SAN"
|
|
# Test all completions where the command exists
|
|
|
|
# No output is good output
|
|
for f in $__fish_data_dir/completions/*.fish
|
|
if type -q (string replace -r '.*/([^/]+).fish' '$1' $f)
|
|
set -l out (source $f 2>&1 | string collect)
|
|
test -n "$out"
|
|
and echo -- OUTPUT from $f: $out
|
|
end
|
|
end
|