mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Makefile/tests: use return values to communicate errors
This commit is contained in:
parent
7874cdf52a
commit
3106cffb65
2 changed files with 4 additions and 3 deletions
|
@ -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 a new issue