Project

Profile

Help

How to connect?
Download (3.26 KB) Statistics
| Branch: | Tag: | Revision:

he / tags / 9.6.0.8 / build / test-n.xml @ 02f8308b

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<project basedir="." default="all" name="Regression Test Saxon for the .NET platform"
4
         xmlns:dn="antlib:org.apache.ant.dotnet">
5
         
6
    <import file="build-constants.xml"/>
7
    <import file="build-n.xml"/>
8
    
9
    <target name="test-cmd-hen">
10
      <exec dir="${build-hen.dir}/bin" 
11
            executable="${build-hen.dir}/bin/Transform"
12
            failonerror="true">
13
         <arg line="-t"/>
14
         <arg line="-s:${build-resources.dir}/samples/data/books.xml"/>
15
         <arg line="-xsl:${build-resources.dir}/samples/styles/books.xsl"/>
16
      </exec>
17
      <exec dir="${build-hen.dir}/bin" 
18
            executable="${build-hen.dir}/bin/Query"
19
            failonerror="true">
20
         <arg line="-t"/>
21
         <arg line="-s:${build-resources.dir}/samples/data/books.xml"/>
22
         <arg line="-q:${build-resources.dir}/samples/query/books.xq"/>
23
      </exec>
24
    </target>   
25
    
26
    <target name="test-cmd-pen">
27
      <exec dir="${build-pen.dir}/bin" 
28
            executable="${build-pen.dir}/bin/Transform.exe"
29
            failonerror="true">
30
         <arg line="-t"/>
31
         <arg line="-s:${build-resources.dir}/samples/data/books.xml"/>
32
         <arg line="-xsl:${build-resources.dir}/samples/styles/books.xsl"/>
33
      </exec>
34
      <exec dir="${build-pen.dir}/bin" 
35
            executable="${build-pen.dir}/bin/Query.exe"
36
            failonerror="true">
37
         <arg line="-t"/>
38
         <arg line="-s:${build-resources.dir}/samples/data/books.xml"/>
39
         <arg line="-qs:saxon:line-number((//*)[last()])"/>
40
         <arg line="-l:on"/>
41
      </exec>
42
    </target>
43
    
44
    <target name="test-cmd-een">
45
      <exec dir="${build-een.dir}/bin" 
46
            executable="${build-een.dir}/bin/Transform.exe"
47
            failonerror="true">
48
         <arg line="-t"/>
49
         <arg line="-s:${build-resources.dir}/samples/data/books.xml"/>
50
         <arg line="-xsl:${build-resources.dir}/samples/styles/books.xsl"/>
51
      </exec>
52
      <exec dir="${build-een.dir}/bin" 
53
            executable="${build-een.dir}/bin/Query.exe"
54
            failonerror="true">
55
         <arg line="-t"/>
56
         <arg line="-s:${build-resources.dir}/samples/data/books.xml"/>
57
         <arg line="-qs:saxon:line-number((//*)[last()])"/>
58
         <arg line="-l:on"/>
59
      </exec>
60
      <exec dir="${build-een.dir}/bin" 
61
            executable="${build-een.dir}/bin/Validate.exe"
62
            failonerror="true">
63
         <arg line="-t"/>
64
         <arg line="-s:${build-resources.dir}/samples/data/books.xml"/>
65
         <arg line="-xsd:${build-resources.dir}/samples/data/books.xsd"/>
66
      </exec>
67
    </target>
68
    
69
    <target name="test-api-een">
70
      <!-- This will fail if the DLL has not been added to the GAC -->
71
      <exec dir="${build-resources.dir}/samples/cs/bin"
72
            executable="${build-resources.dir}/samples/cs/bin/Examples"
73
            failonerror="true">
74
         <arg line="-dir:${build-resources.dir}/samples"/>
75
         <arg line="-SA"/>
76
         <arg line="-ask:no"/>
77
     </exec>
78
    </target>
79
    
80
    <target name="test-cmd-n" depends="test-cmd-hen, test-cmd-pen, test-cmd-een"/>
81
    
82
    <target name="test-api-n" depends="test-api-een"/>
83
    
84
    <target name="test-n" depends="test-cmd-n, test-api-n"/>               
85
         
86
         
87
         
88
</project>
(8-8/9)