From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/builder/files: builder-2.1.2-fix-tests.patch |
Date: | Sat, 26 Jun 2010 13:51:00 |
Message-Id: | 20100626135056.C98E42CF78@corvid.gentoo.org |
1 | graaff 10/06/26 13:50:56 |
2 | |
3 | Added: builder-2.1.2-fix-tests.patch |
4 | Log: |
5 | Make sure tests work regardless of load order. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-ruby/builder/files/builder-2.1.2-fix-tests.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/builder/files/builder-2.1.2-fix-tests.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/builder/files/builder-2.1.2-fix-tests.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: builder-2.1.2-fix-tests.patch |
15 | =================================================================== |
16 | Require the needed files explicitly. Otherwise tests might break if this |
17 | test is found first. |
18 | |
19 | --- test/testeventbuilder.rb.~1~ 2006-12-24 20:29:01.000000000 +0100 |
20 | +++ test/testeventbuilder.rb 2010-06-26 15:43:50.853708583 +0200 |
21 | @@ -1,3 +1,6 @@ |
22 | +require 'test/unit' |
23 | +require 'builder' |
24 | + |
25 | class TestEvents < Test::Unit::TestCase |
26 | |
27 | class Target |