equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 ============================================================================ |
|
4 Name : eunit.ant.xml |
|
5 Part of : Helium |
|
6 |
|
7 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
8 All rights reserved. |
|
9 This component and the accompanying materials are made available |
|
10 under the terms of the License "Eclipse Public License v1.0" |
|
11 which accompanies this distribution, and is available |
|
12 at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
13 |
|
14 Initial Contributors: |
|
15 Nokia Corporation - initial contribution. |
|
16 |
|
17 Contributors: |
|
18 |
|
19 Description: |
|
20 |
|
21 ============================================================================ |
|
22 --> |
|
23 <project name="_testing.eunit"> |
|
24 <description> |
|
25 Testing using EUnit. (For WINSCW) |
|
26 </description> |
|
27 |
|
28 <!-- Unzip test package to build drive. --> |
|
29 <target name="prepare-eunit" if="enabled.ats"> |
|
30 <unzip src="${eunit.prepare.zip}" dest="${build.drive}/" /> |
|
31 </target> |
|
32 |
|
33 <!-- Runs eunittests for Java code --> |
|
34 <target name="eunittest" depends="prepare-eunit"> |
|
35 <for list="${eunit.dlls}" delimiter="," param="eunit.dll"> |
|
36 <sequential> |
|
37 <exec executable="${build.drive}/epoc32/release/winscw/udeb/EUnitExeRunner.exe" dir="${build.drive}/epoc32/release/winscw/udeb" failonerror="${failonerror}"> |
|
38 <arg line="@{eunit.dll}" /> |
|
39 </exec> |
|
40 </sequential> |
|
41 </for> |
|
42 <copy file="${build.drive}\epoc32\winscw\c\shared\Eunit\logs\Eunit_Log.xml" tofile="${build.log.dir}\${build.id}_Eunit_Log.xml" /> |
|
43 </target> |
|
44 |
|
45 </project> |