Pārlūkot izejas kodu

Remove xvfb

Change-Id: I335b494f60d030ad42f48c6fff20ec03321d7fa4
Reviewed-on: http://gerrit.dmdirc.com/1677
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com>
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
tags/0.6.5b1
Chris Smith 13 gadus atpakaļ
vecāks
revīzija
d04c29d87e
2 mainītis faili ar 1 papildinājumiem un 37 dzēšanām
  1. 0
    36
      build-tests.xml
  2. 1
    1
      nbproject/build-impl.xml

+ 0
- 36
build-tests.xml Parādīt failu

@@ -5,7 +5,6 @@
5 5
     <property name="clover.jar" location="lib/clover.jar"/>
6 6
     <taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>
7 7
     <taskdef resource="cloverjunitlib.xml" classpath="${clover.jar}"/>
8
-    <available file="/usr/bin/xvfb-run" property="has.xvfb"/>
9 8
 
10 9
     <condition property="clover.installed">
11 10
      <and>
@@ -82,41 +81,6 @@
82 81
         </junitreport>
83 82
     </target>
84 83
 
85
-    <target name="test" depends="check-use-xvfb, -test-xvfb, -test-no-xvfb"/>
86
-
87
-    <target name="check-use-xvfb">
88
-        <condition property="use.xvfb">
89
-            <and>
90
-                <not>
91
-                    <equals arg1="${xvfb.disable}" arg2="true" />
92
-                </not>
93
-                <equals arg1="${has.xvfb}" arg2="true" />
94
-            </and>
95
-        </condition>
96
-    </target>
97
-
98
-    <target name="-test-xvfb" if="use.xvfb">
99
-        <exec executable="/usr/bin/xvfb-run">
100
-            <arg value="-a"/>
101
-            <arg value="-s"/>
102
-            <arg value="-screen 0 1280x1024x24"/>
103
-            <arg value="-w"/>
104
-            <arg value="5"/>
105
-            <arg value="/usr/bin/ant"/>
106
-            <arg value="do-xvfb-tests"/>
107
-        </exec>
108
-    </target>
109
-
110
-    <target name="do-xvfb-tests" depends="with.clover,do-real-test,clover.snapshot"/>
111
-
112
-    <target name="-test-no-xvfb" unless="use.xvfb">
113
-        <antcall>
114
-            <target name="with.clover"/>
115
-            <target name="do-real-test"/>
116
-            <target name="clover.snapshot"/>
117
-        </antcall>
118
-    </target>
119
-
120 84
     <target name="test-html" depends="with.clover,compile-test,test,clover.html,clover.snapshot"
121 85
             description="Run tests and generate a Clover HTML report."/>
122 86
     <target name="test-xml" depends="with.clover,compile-test,test,clover.xml,clover.snapshot"

+ 1
- 1
nbproject/build-impl.xml Parādīt failu

@@ -688,7 +688,7 @@ is divided into following sections:
688 688
     </target>
689 689
     <target depends="init" if="have.tests" name="test-report"/>
690 690
     <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
691
-    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="do-real-test"/>
691
+    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
692 692
     <target depends="init" if="have.tests" name="-pre-test-run-single">
693 693
         <mkdir dir="${build.test.results.dir}"/>
694 694
     </target>

Notiek ielāde…
Atcelt
Saglabāt