diff options
author | Henrik Rentz-Reichert | 2012-12-11 15:46:23 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2012-12-11 15:46:23 +0000 |
commit | 7d084613b6dc6ea496e51f70e511126081cdd307 (patch) | |
tree | af38b08ed5bb77e971a3644d01b6f9a5f073eb2d | |
parent | 8f611c1b3128a52d980880b11d6726e587aeb485 (diff) | |
download | org.eclipse.etrice-7d084613b6dc6ea496e51f70e511126081cdd307.tar.gz org.eclipse.etrice-7d084613b6dc6ea496e51f70e511126081cdd307.tar.xz org.eclipse.etrice-7d084613b6dc6ea496e51f70e511126081cdd307.zip |
[generator.c.tests] cleaning also runtime
-rw-r--r-- | tests/org.eclipse.etrice.generator.c.tests/make.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/org.eclipse.etrice.generator.c.tests/make.xml b/tests/org.eclipse.etrice.generator.c.tests/make.xml index 1f6f55697..81293eae0 100644 --- a/tests/org.eclipse.etrice.generator.c.tests/make.xml +++ b/tests/org.eclipse.etrice.generator.c.tests/make.xml @@ -55,8 +55,9 @@ <!--
clean: deletes all folders created by this script
-->
- <target name="clean" depends="set_tr">
+ <target name="clean" depends="set_tr,set_rp">
<delete dir="${bin.path}"/>
+ <delete dir="${c-runtime.path}/bin"/>
<delete dir="models"/>
<delete dir="${output}"/>
<delete dir="${test.results}"/>
@@ -192,7 +193,7 @@ <arg value="../../src-gen/HandlerTest/TestProtocol.c"/>
</exec>
<exec dir="bin/HandlerTest" executable="gcc" failonerror="true" output="${output}/build.txt" append="true">
- <arg value="-L../../../../runtime/org.eclipse.etrice.runtime.c/bin"/>
+ <arg value="-L${c-runtime.path}/bin"/>
<arg value="-oHandlerTest.exe"/>
<arg value="HandlerTest_Top.o"/>
<arg value="HandlerUser.o"/>
@@ -226,7 +227,7 @@ <arg value="../../src-gen/ChoicePointTest/TestProtocol.c"/>
</exec>
<exec dir="bin/ChoicePointTest" executable="gcc" failonerror="true" output="${output}/build.txt" append="true">
- <arg value="-L../../../../runtime/org.eclipse.etrice.runtime.c/bin"/>
+ <arg value="-L${c-runtime.path}/bin"/>
<arg value="-oChoicePointTest.exe"/>
<arg value="CPTest_Top.o"/>
<arg value="CPTester.o"/>
@@ -263,7 +264,7 @@ <arg value="../../src-gen/SendingDataTestC/SubSys_SendingData_Runner.c"/>
</exec>
<exec dir="bin/SendingDataTestC" executable="gcc" failonerror="true" output="${output}/build.txt" append="true">
- <arg value="-L../../../../runtime/org.eclipse.etrice.runtime.c/bin"/>
+ <arg value="-L${c-runtime.path}/bin"/>
<arg value="-oSendingDataTestC.exe"/>
<arg value="MrPing.o"/>
<arg value="MrPong.o"/>
|