forked from sspies8684/hoofprints
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.xml
166 lines (136 loc) · 5.58 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<project name="Hoofprints Testbed" basedir=".">
<property file="conf/test.properties" />
<taskdef name="setIP" classpath="${build.home}" classname="net.decix.tasks.SetIP" />
<taskdef name="setIP6" classpath="${build.home}" classname="net.decix.tasks.SetIP6" />
<import file="${tasks.home}/network.xml" />
<import file="${tasks.home}/quagga.xml" />
<import file="${tasks.home}/bird.xml" />
<target name="compile">
<javac destdir="${build.home}" includeantruntime="no">
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/log4j-1.2.15.jar" />
<src path="${src.home}" />
<src path="${junit.home}" />
<src path="${rs-junit.home}" />
</javac>
</target>
<target name="clean">
<delete>
<fileset dir="${build.home}" includes="**/*" />
</delete>
</target>
<target name="echoproperties">
<echoproperties />
</target>
<target name="runAllBGPStackTests" depends="compile">
<junit showoutput="true" printsummary="true">
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
<batchtest>
<fileset dir="${build.home}" includes="net/decix/bgpstack/**" />
</batchtest>
</junit>
</target>
<target name="T1" depends="compile">
<junit printsummary="yes" haltonfailure="no">
<test name="net.decix.rs.tc.T1ManyPeersConnecting" outfile="T1-result" todir="${tmp.home}">
<formatter type="plain" />
</test>
<!-- <jvmarg line="-Djava.util.logging.config.file=/home/sspies/workspace/rs-tstbed/rs-junit/logging.properties"/> -->
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<target name="T2" depends="compile">
<junit printsummary="true">
<test name="net.decix.rs.tc.T2ManyPrefixes" outfile="T2-result" todir="${tmp.home}">
<formatter type="xml" />
<formatter type="plain" />
</test>
<!-- <jvmarg line="-Djava.util.logging.config.file=/home/sspies/workspace/rs-tstbed/rs-junit/logging.properties"/> -->
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<target name="T2_6" depends="compile">
<junit printsummary="true">
<test name="net.decix.rs.tc.T2ManyPrefixes6" outfile="T2_6-result" todir="${tmp.home}">
<formatter type="xml" />
<formatter type="plain" />
</test>
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<target name="T3" depends="compile">
<junit printsummary="true">
<test name="net.decix.rs.tc.T3CrossConnect" outfile="T3-result" todir="${tmp.home}">
<formatter type="plain" />
</test>
<!-- <jvmarg line="-Djava.util.logging.config.file=/home/sspies/workspace/rs-tstbed/rs-junit/logging.properties"/> -->
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<target name="T4" depends="compile">
<junit printsummary="true">
<test name="net.decix.rs.tc.T4RouteOverlap" outfile="T4-result" todir="${tmp.home}">
<formatter type="plain" />
</test>
<!-- <jvmarg line="-Djava.util.logging.config.file=/home/sspies/workspace/rs-tstbed/rs-junit/logging.properties"/> -->
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<target name="T5" depends="compile">
<junit printsummary="true">
<test name="net.decix.rs.tc.T5Filters" outfile="T5-result" todir="${tmp.home}">
<formatter type="plain" />
</test>
<!-- <jvmarg line="-Djava.util.logging.config.file=/home/sspies/workspace/rs-tstbed/rs-junit/logging.properties"/> -->
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<target name="T6" depends="compile">
<junit printsummary="true">
<test name="net.decix.rs.tc.T6Features" outfile="T6-result" todir="${tmp.home}">
<formatter type="plain" />
</test>
<!-- <jvmarg line="-Djava.util.logging.config.file=/home/sspies/workspace/rs-tstbed/rs-junit/logging.properties"/> -->
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<target name="T7" depends="compile">
<junit printsummary="true">
<test name="net.decix.rs.tc.T7DECIX" outfile="T7-result" todir="${tmp.home}">
<formatter type="plain" />
</test>
<!-- <jvmarg line="-Djava.util.logging.config.file=/home/sspies/workspace/rs-tstbed/rs-junit/logging.properties"/> -->
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
</junit>
</target>
<!--<target name="runAllRSTests">
<junit showoutput="true" printsummary="true">
<classpath location="${lib.home}/junit-4.6.jar" />
<classpath location="${lib.home}/charting-0.94.jar" />
<classpath location="${build.home}" />
<batchtest>
<fileset dir="${build.home}">
<include name="net/decix/rs/tc/T1ManyPeersConnecting.class" />
<include name="net/decix/rs/tc/T2ManyPrefixes.class" />
</fileset>
</batchtest>
</junit>
</target> -->
</project>