Skip to content

Commit

Permalink
[I-Build-Tests] Remove unused test scripts
Browse files Browse the repository at this point in the history
One script was intended to launch the I-build tests locally.
The other two scripts where tests to test the scripts for launching the
tests.

All of them are not up-to-date anymore and not used.
Furthermore this allows to remove more test code from the product
test.xml ANT scripts.
  • Loading branch information
HannesWell committed Nov 6, 2024
1 parent 127509b commit b47edcd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 356 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2185,67 +2185,4 @@
<markTime msg="${message}" />
</target>


<!--
function to centralize how we get (that is, set) the value of
'javaMajorVersion'. (expected to be integer, such as 5,6,7,8,9,
or will be "0" if the version could not be determined, for some reason.
-->

<target name="getJavaMajorVersion">
<!--
Since we don't support below java 11 we can safely ignore version numbers for java 8 and below
-->

<loadresource property="javaMajorVersion">
<string value="${java.version}"/>
<filterchain>
<tokenfilter>
<replaceregex pattern="^(\d+)([\.-](.*))" replace="\1"/>
</tokenfilter>
</filterchain>
</loadresource>
<echo message="javaMajorVersion: ${javaMajorVersion}"/>

</target>

<macrodef name="printProperty">
<attribute name="property" />
<sequential>
<echo message="@{property}: ${@{property}}" />
</sequential>
</macrodef>


<target name="debug-allJavaProperties">
<echoproperties regex="^java\..*$" />
</target>
<target name="debug-allOSProperties">
<echoproperties regex="^os\..*$" />
</target>

<target
name="test-getJavaMajorVersion"
depends="debug-allJavaProperties,debug-allOSProperties,getJavaMajorVersion">
<printProperty property="javaMajorVersion" />
<printProperty property="java.version" />
<printProperty property="java.runtime.version" />
<printProperty property="java.vm.info" />
<printProperty property="java.specification.version" />
<printProperty property="java.vendor" />
<printProperty property="ant.version" />
<printProperty property="ant.java.version" />
<!-- <antcall target="printMainProperties" /> -->
</target>

<target
name="test-all"
depends="init,debug-allProperties,test-getJavaMajorVersion">
</target>

<target
name="debug-allProperties"
depends="init">
<echoproperties />
</target>
</project>

This file was deleted.

134 changes: 0 additions & 134 deletions production/testScripts/startTests.sh

This file was deleted.

102 changes: 0 additions & 102 deletions production/testScripts/test_runTests2.xml.sh

This file was deleted.

0 comments on commit b47edcd

Please sign in to comment.