fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Daniel Rainerci: disable pexpect and tmux tests in sanitizer jobs64e3b419b

master
588 B19 linesraw
1#RUN: fish=%fish %fish %s
2
3set -l workspace_root (path resolve -- (status dirname)/../../)
4set timestamp_file $workspace_root/tests/.last-check-all-files
5set -l find_args
6if test -f $timestamp_file
7    set find_args -newer $timestamp_file
8end
9set -l fail_count 0
10for file in (find $workspace_root/{benchmarks,build_tools,etc,share,tests} -name "*.fish" $find_args)
11    $fish -n $file; or set fail_count (math $fail_count + 1)
12end
13
14# Prevent setting timestamp if any errors were encountered
15if test "$fail_count" -eq 0
16    touch $timestamp_file 2>/dev/null
17end
18
19# No output is good output