1 |
tommy 09/01/26 20:03:10 |
2 |
|
3 |
Added: db-je-3.3.75-optional-test.patch |
4 |
Log: |
5 |
Initial commit. Fixes bug 238035 |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-db/db-je/files/db-je-3.3.75-optional-test.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/db-je/files/db-je-3.3.75-optional-test.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/db-je/files/db-je-3.3.75-optional-test.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: db-je-3.3.75-optional-test.patch |
15 |
=================================================================== |
16 |
--- build.xml 2008-06-11 05:25:20.000000000 +0200 |
17 |
+++ build.xml.new 2008-08-22 15:59:53.000000000 +0200 |
18 |
@@ -102,6 +102,7 @@ |
19 |
<path id="empty.classpath"/> |
20 |
|
21 |
<path id="class.path"> |
22 |
+ <fileset dir="lib" includes="*.jar"/> |
23 |
<pathelement location="${specificjar}"/> |
24 |
<pathelement location="."/> |
25 |
</path> |
26 |
@@ -487,14 +488,14 @@ |
27 |
<!-- JUnit unit tests --> |
28 |
<!-- ============================================================ --> |
29 |
|
30 |
- <target name="init-unittest" depends="init"> |
31 |
+ <target name="init-unittest" depends="init" unless="notest"> |
32 |
<delete dir="${unittest.datadir}"/> |
33 |
<delete dir="${unittest.reportsdir}"/> |
34 |
<mkdir dir="${unittest.datadir}"/> |
35 |
<mkdir dir="${unittest.reportsdir}"/> |
36 |
</target> |
37 |
|
38 |
- <target name="clean-unittest" depends="init-unittest"> |
39 |
+ <target name="clean-unittest" depends="init-unittest" unless="notest"> |
40 |
<delete dir="${unittest.destdir}"/> |
41 |
<mkdir dir="${unittest.destdir}"/> |
42 |
<delete dir="${unittest.testserialdir}"/> |
43 |
@@ -503,7 +504,7 @@ |
44 |
<mkdir dir="${unittest.testevolvedir}"/> |
45 |
</target> |
46 |
|
47 |
- <target name="compile-unittest" depends="compile-src"> |
48 |
+ <target name="compile-unittest" depends="compile-src" unless="notest"> |
49 |
<ant antfile="ant/compile.xml" dir="." inheritall="false"> |
50 |
<property name="srcdir" value="${unittest.srcdir}"/> |
51 |
<property name="destdir" value="${unittest.destdir}"/> |
52 |
@@ -597,7 +598,7 @@ |
53 |
</path> |
54 |
|
55 |
<target name="test" |
56 |
- depends="compile-unittest, init-unittest, jar"> |
57 |
+ depends="compile-unittest, init-unittest, jar" unless="notest"> |
58 |
|
59 |
<!-- Determine which tests to run. --> |
60 |
<condition property="alltests"> |