Commit 289923c5 authored by Lukáš Marek's avatar Lukáš Marek

dropped test directory

parent dd0bcbcc
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-test"/>
<classpathentry kind="src" path="src-jborat"/>
<classpathentry kind="src" path="test/src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/asm-debug-all-4.0.jar"/>
<classpathentry kind="lib" path="/home/lukas/repos/disl/trunk/test/lib/stp.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
user.runtime.jar.name=test-runtime.jar
\ No newline at end of file
<project name="disl-test" default="compile" basedir=".">
<property file="../disl.version"/>
<property file="../build.properties"/>
<property file="build.properties"/>
<property name="disl.jar.path" value="../build/disl-${disl.version}.jar"/>
<path id="buildpath">
<pathelement location="${disl.jar.path}"/>
<pathelement location="../${asm.path}"/>
<pathelement location="../${jborat.path}"/>
<pathelement location="../${jborat-runtime.path}"/>
<pathelement location="lib/stp.jar"/>
</path>
<target name="check-disl-jar">
<available file="${disl.jar.path}" property="disl.jar.present"/>
</target>
<target name="report-missing-jar" depends="check-disl-jar" unless="disl.jar.present">
<fail message="DiSL jar not found at ${disl.jar.path}. Build DiSL first!" />
</target>
<target name="compile" depends="report-missing-jar">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin" debug="true" includeAntRuntime="false">
<classpath refid="buildpath"/>
<compilerarg value="-Xbootclasspath/p:lib/Thread_test.jar"/>
</javac>
</target>
<target name="agent" description="create simple agent jar file" >
<mkdir dir="build"/>
<jar jarfile="build/agent-light.jar">
<manifest>
<attribute name="Premain-Class" value="ch.usi.dag.disl.testtools.agent.Agent"/>
</manifest>
</jar>
</target>
<target name="check-test-property">
<condition property="test.set">
<isset property="test.name"/>
</condition>
</target>
<target name="report-missing-property" depends="check-test-property" unless="test.set">
<fail message="Property test.name is not set. Set it using -Dtest.name=value" />
</target>
<property name="test.path" value="ch/usi/dag/disl/test/${test.name}"/>
<target name="package" depends="report-missing-property,compile" description="create instrumentation package for specified test">
<mkdir dir="build"/>
<jar jarfile="./build/${user.runtime.jar.name}"
basedir="./bin"
includes="${test.path}/runtime/**">
</jar>
<jar jarfile="../build/${instr.jar.name}"
basedir="./bin"
includes="${test.path}/*"
excludes="${test.path}/runtime ${test.path}/TargetClass*.class ${test.path}/MANIFEST.MF"
manifest="./src/${test.path}/MANIFEST.MF">
</jar>
</target>
<target name="clean">
<delete dir="bin"/>
<delete dir="build"/>
</target>
</project>
# BEGIN JDK
# ALL JDK CLASSES MUST HAVE TWO VERSIONS
org.jcp.*
org.omg.*
org.xml.*
org.ietf.*
java.*
javax.*
com.sun.*
sun.*
sunx.*
com.apple.*
# END JDK
# BEGIN APPLICATION CODE
# IF YOU DON'T WEAVE JDK (see excluded.lst), YOU SHOULD APPLY
# THE CODE-MERGER TO THE APPLICATION CODE
#org.*
\ No newline at end of file
# THESE ARE THE BASIC SETTINGS
ch.usi.dag.jborat.*
sun.instrument.*
# THESE ARE THE RUNTIME CLASSES THAT MUST NOT BE WOVEN
ch.usi.dag.disl.test.senseo.runtime.*
ch.usi.dag.disl.test.map.runtime.*
ch.usi.dag.disl.test.jp2.runtime.*
ch.usi.dag.disl.test.virda.runtime.*
ch.usi.dag.disl.test.after2.runtime.*
ch.usi.dag.sample.runtime.*
# BEGIN JDK WEAVING
# COMMENT THE FOLLOWING FOR FULL COVERAGE
#org.jcp.*
#org.omg.*
#org.xml.*
#org.ietf.*
#java.*
#javax.*
#com.sun.*
#com.apple.*
#sun.*
#sunx.*
# END JDK
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment