summaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-23 04:05:03 +0100
committerSven Gothel <[email protected]>2015-03-23 04:05:03 +0100
commitb755b045fb7e3c8306f24dd645297992ab8db7f9 (patch)
tree4be9dfb52b0e0ed91d5376ef1d770552d3252d1e /make/build-test.xml
parent532b8df474976b474f0cf4eb2d93588ded2ad3fe (diff)
Bug 1149 - Replacing PCPP w/ JCPP, allowing complete macro handling (Part-1: Cleanup / Preparation)
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index 624bd61..fe1aaec 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -36,6 +36,7 @@
<property name="test.junit.generation.rel" value="${test.junit.rel}/gluegen/test/junit/generation" />
<property name="test.junit.generation.dir" value="${test.base.dir}/${test.junit.generation.rel}" />
+ <property name="tempdir" value="${project.root}/build-temp" />
<property name="build" location="${project.root}/${rootrel.build}" />
<property name="test.dir" value="${gluegen.root}/${rootrel.build}/test"/>
<property name="results" value="${test.dir}/results" />
@@ -50,6 +51,7 @@
<property name="build_t.gen.rootrel" value="${rootrel.build}/test/build/gensrc"/>
+ <mkdir dir="${tempdir}" />
<mkdir dir="${test.dir}"/>
<mkdir dir="${results}"/>
<mkdir dir="${build_t}"/>
@@ -516,6 +518,12 @@ chmod 644 ${results}/* \${line.separator}
</antcall>
</target>
+ <target name="java.generate.copy2temp">
+ <copy todir="${tempdir}">
+ <fileset dir="${build_t}"
+ includes="gensrc/classes/**" />
+ </copy>
+ </target>
<!--
@@ -546,6 +554,7 @@ chmod 644 ${results}/* \${line.separator}
logLevel="WARNING">
<classpath refid="gluegen.classpath" />
</gluegen>
+ <antcall target="java.generate.copy2temp" inheritRefs="true" />
<gluegen src="${test.junit.generation.dir}/test1-gluegen.c"
outputRootDir="${build_t.gen}"