Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPS-57367 Print out current batch test classes for reproducing CI tes… #28603

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions build-test-batch.xml
Expand Up @@ -118,6 +118,17 @@
</sequential>
</macrodef>

<macrodef name="print-test-class-group">
<attribute name="test.class.group.index" />
<sequential>
<property file="${project.dir}/test.class.file.names.properties" />

<propertycopy from="TEST_CLASS_GROUP_@{test.class.group.index}" name="test.class.group" />

<echo>TEST_CLASS_GROUP_@{test.class.group.index}=${test.class.group}</echo>
</sequential>
</macrodef>

<macrodef name="run-batch-test">
<attribute name="test.class.group.index" />
<element name="test-action" />
Expand Down Expand Up @@ -176,6 +187,8 @@
<test-action>
<database-test-run-test database.type="@{database.type}">
<test-action>
<print-test-class-group test.class.group.index="@{test.class.group.index}" />

<ant dir="portal-impl" target="test-class-group" inheritAll="false">
<property name="database.type" value="@{database.type}" />
<property name="test.class.group.index" value="@{test.class.group.index}" />
Expand All @@ -195,6 +208,8 @@
<test-action>
<database-test-run-test database.type="@{database.type}">
<test-action>
<print-test-class-group test.class.group.index="@{test.class.group.index}" />

<antcall target="prepare-portal-ext-properties" inheritAll="false">
<param name="database.type" value="@{database.type}" />
</antcall>
Expand Down