Skip to content

Commit e2f4740

Browse files
authored
Merge pull request #23467 from annaibm/cherrypick_TestNG
(v0.58.0-release) Fix TestNG dependency in cmdLineTest_J9tests
2 parents f8177f1 + 2b68ce1 commit e2f4740

File tree

1 file changed

+4
-2
lines changed
  • test/functional/cmdLineTests/cmdLineTest_J9tests

1 file changed

+4
-2
lines changed

test/functional/cmdLineTests/cmdLineTest_J9tests/build.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@
3636
<property name="src" location="${PROJECT_ROOT}/src" />
3737
<property name="TestUtilities" location="../../TestUtilities/src"/>
3838
<property name="build" location="${PROJECT_ROOT}/bin" />
39+
<property name="LIB" value="testng" />
40+
<import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml" />
3941

4042
<target name="init">
4143
<mkdir dir="${DEST}" />
4244
<mkdir dir="${build}" />
4345
</target>
4446

45-
<target name="compile" depends="init" description="Using java ${JDK_VERSION} to compile the source ">
47+
<target name="compile" depends="init,getDependentLibs" description="Using java ${JDK_VERSION} to compile the source ">
4648
<echo>Ant version is ${ant.version}</echo>
4749
<echo>============COMPILER SETTINGS============</echo>
4850
<echo>===fork: yes</echo>
@@ -69,7 +71,7 @@
6971
<fileset dir="${PROJECT_ROOT}" includes="*.mk" />
7072
</copy>
7173
</target>
72-
74+
7375
<target name="clean" depends="dist" description="clean up">
7476
<!-- Delete the ${build} directory trees -->
7577
<delete dir="${build}" />

0 commit comments

Comments
 (0)