Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/django-tastypie/files: runtests.patch
Date: Thu, 06 Jun 2013 09:32:52
Message-Id: 20130606093246.EC4C62171E@flycatcher.gentoo.org
1 idella4 13/06/06 09:32:46
2
3 Modified: runtests.patch
4 Log:
5 tidyup
6
7 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.2 dev-python/django-tastypie/files/runtests.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-tastypie/files/runtests.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-tastypie/files/runtests.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-tastypie/files/runtests.patch?r1=1.1&r2=1.2
15
16 Index: runtests.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/django-tastypie/files/runtests.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- runtests.patch 3 Jun 2013 07:08:29 -0000 1.1
23 +++ runtests.patch 6 Jun 2013 09:32:46 -0000 1.2
24 @@ -28,7 +28,7 @@
25 + continue
26 + else
27 + echo "Test ${type} failed"
28 -+ exit -1
29 ++ exit 1
30 + fi
31 elif [ $type == 'gis' ]; then
32 - createdb -T template_postgis tastypie.db
33 @@ -39,7 +39,7 @@
34 - echo; echo
35 + if ! django-admin.py test $type --settings=settings_$type; then
36 + echo "Test ${type} failed"
37 -+ exit -1
38 ++ exit 1
39 + else
40 + echo; echo
41 + fi