mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 09:20:10 +08:00
Makefile/tests: use return values to communicate errors
This commit is contained in:
parent
7874cdf52a
commit
3106cffb65
|
@ -302,7 +302,8 @@ doc/refman.pdf: doc
|
|||
#
|
||||
|
||||
test: $(PROGRAMS) fish_tests
|
||||
./fish_tests; cd tests; ../fish <test.fish;
|
||||
./fish_tests
|
||||
cd tests; ../fish <test.fish;
|
||||
.PHONY: test
|
||||
|
||||
|
||||
|
|
|
@ -40,11 +40,11 @@ if [ "$argv" != '-n' ]
|
|||
|
||||
if test $res = ok;
|
||||
echo File test.fish tested ok
|
||||
exit 0
|
||||
else
|
||||
echo File test.fish failed tests
|
||||
exit 1
|
||||
end;
|
||||
|
||||
exit
|
||||
end
|
||||
|
||||
echo Testing high level script functionality
|
||||
|
|
Loading…
Reference in New Issue
Block a user