Skip to content

Commit b7b2e7f

Browse files
committed
return trial status as bin/runtests.sh exit value. scrapy#118
1 parent 02df475 commit b7b2e7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/runtests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ if [ $# -eq 0 ]; then
4141
else
4242
$trial "$@"
4343
fi
44+
exit_status=$?
4445

4546
# cleanup vsftpd stuff
4647
[ -n "$vsftpd_pid" ] && kill $vsftpd_pid
4748
[ -n "$ftproot" ] && rm -rf $ftproot $vsftpd_conf
4849

50+
exit $exit_status

0 commit comments

Comments
 (0)