Skip to content

Commit

Permalink
integrationstest skip
Browse files Browse the repository at this point in the history
  • Loading branch information
llsand committed Oct 29, 2014
1 parent f691949 commit da05c60
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions orcas_integrationstest/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,18 @@

<concat destfile="${tmpfolder}/${akt_verzeichnis}/testresult.xml" append="false"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>]]></concat>
<concat destfile="${tmpfolder}/${akt_verzeichnis}/testresult.xml" append="true">
<![CDATA[<testsuite name="${akt_verzeichnis}" tests="1" >]]></concat>
<![CDATA[<testsuite name="${akt_verzeichnis}" >]]></concat>
</sequential>
</macrodef>

<macrodef name="log_skip_test">
<sequential>
<echo message="### Skipping ${akt_verzeichnis} due to required features: ${required_feature_list} ; available features: ${available_feature_list} ###" />

<concat destfile="${tmpfolder}/${akt_verzeichnis}/testresult.xml" append="false">
<![CDATA[<?xml version="1.0" encoding="UTF-8"?>]]></concat>
<concat destfile="${tmpfolder}/${akt_verzeichnis}/testresult.xml" append="false"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>]]></concat>
<concat destfile="${tmpfolder}/${akt_verzeichnis}/testresult.xml" append="true">
<![CDATA[<testsuite name="${akt_verzeichnis}" tests="0" >]]></concat>
<![CDATA[<testsuite name="${akt_verzeichnis}" >]]></concat>
<log_skip testname="run"/>
</sequential>
</macrodef>

Expand Down Expand Up @@ -198,6 +198,17 @@ ${akt_verzeichnis}: @{message}</concat>
</sequential>
</macrodef>

<macrodef name="log_skip">
<attribute name="testname" />
<sequential>
<concat destfile="${tmpfolder}/${akt_verzeichnis}/testresult.xml" append="true">
<![CDATA[
<testcase name="@{testname}">
<skipped/>
</testcase>]]></concat>
</sequential>
</macrodef>

<macrodef name="check_struktur_equal">
<attribute name="testname" />
<attribute name="user1" />
Expand Down Expand Up @@ -478,6 +489,9 @@ ${akt_verzeichnis}: @{message}</concat>

<check_struktur_equal user1="${zielskript}" logfile1="zielskript_extract_nodata" user2="${ueberfuehrung}" logfile2="ueberfuehrung_extract_nodata" includedata="false" testname="test_run_with_extract" />
</then>
<else>
<log_skip testname="test_run_with_extract" />
</else>
</if>

<if>
Expand Down Expand Up @@ -509,6 +523,17 @@ ${akt_verzeichnis}: @{message}</concat>
</else>
</if>
</then>
<else>
<if>
<and>
<available file="@{folder}/tabellen_sqlplus/tabelle.sql" />
</and>
<then>
<log_skip testname="test_run_sqlplus" />
<log_skip testname="second_run_does_nothing_sqlplus" />
</then>
</if>
</else>
</if>

<if>
Expand Down

0 comments on commit da05c60

Please sign in to comment.