mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
Don't reset $result variable for CLI tests after script tests
This commit is contained in:
parent
71a02b537a
commit
812ce9320a
@ -67,14 +67,17 @@ done
|
|||||||
echo ----------------------------------------------------------------------
|
echo ----------------------------------------------------------------------
|
||||||
echo "Testing CLI..."
|
echo "Testing CLI..."
|
||||||
|
|
||||||
result=0
|
|
||||||
for script in cli/*.sh ; do
|
for script in cli/*.sh ; do
|
||||||
echo "Running $script"
|
echo "Running $script"
|
||||||
source $script
|
source $script
|
||||||
done
|
done
|
||||||
|
|
||||||
echo ----------------------------------------------------------------------
|
echo ----------------------------------------------------------------------
|
||||||
echo Done
|
if [ $result == 0 ] ; then
|
||||||
|
echo Done
|
||||||
|
else
|
||||||
|
echo FAILED
|
||||||
|
fi
|
||||||
echo ----------------------------------------------------------------------
|
echo ----------------------------------------------------------------------
|
||||||
|
|
||||||
exit $result
|
exit $result
|
||||||
|
Loading…
Reference in New Issue
Block a user