Skip to content

Commit 530bd95

Browse files
committed
[tests] Use dll target for build tool tests
This makes it possible to run them on android, which does not support exe targets.
1 parent 8326f87 commit 530bd95

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

test/cxx_standard/Build.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
<file name="c17.c" c_standard="17" />
88
</files>
99

10-
<set name="EXESUFFIX" value=".exe" if="windows" />
11-
12-
<target id="default" tool="linker" toolid="exe" output="main${EXESUFFIX}">
10+
<target id="default" tool="linker" toolid="dll" output="main">
1311
<files id="test"/>
1412
</target>
15-
</xml>
13+
</xml>

test/cxx_standard/Build_legacy.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<file name="main.cpp" />
77
</files>
88

9-
<target id="default" tool="linker" toolid="exe" output="main">
9+
<target id="default" tool="linker" toolid="dll" output="main">
1010
<files id="test"/>
1111
</target>
1212
</xml>

test/cxx_standard/Build_section.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</section>
77
</files>
88

9-
<target id="default" tool="linker" toolid="exe" output="main">
9+
<target id="default" tool="linker" toolid="dll" output="main">
1010
<files id="test"/>
1111
</target>
1212
</xml>

0 commit comments

Comments
 (0)