Commit 84d37ca4 authored by Andre Heydt's avatar Andre Heydt
Browse files

junit added for makefile

git-svn-id: f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 50436219
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="src" path="test"/>
<classpathentry combineaccessrules="false" kind="src" path="/mfc"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/numericalMethods"/> <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="bin"/> <classpathentry combineaccessrules="false" kind="src" path="/mfc"/>
</classpath> <classpathentry combineaccessrules="false" kind="src" path="/numericalMethods"/>
<classpathentry kind="output" path="bin"/>
...@@ -176,7 +176,7 @@ else ...@@ -176,7 +176,7 @@ else
@for test in $(TESTS); do \ @for test in $(TESTS); do \
echo "- JUnitTest: $$test"; \ echo "- JUnitTest: $$test"; \
java -ea -classpath "`find $(LIBDIR) -name '*.jar' -printf %p: 2> /dev/null`$(JUNIT):$(BINDIR):$(TESTBINDIR)" \ java -ea -classpath "`find $(LIBDIR) -name '*.jar' -printf %p: 2> /dev/null`$(JUNIT):$(BINDIR):$(TESTBINDIR)" \
junit.textui.TestRunner $$test || { echo "JUnit Test failed!" ; exit 1; } \ $(JUNITTESTRUNNER) $$test || { echo "JUnit Test failed!" ; exit 1; } \
done; done;
@if [ -n "$(ext_)" ]; then echo "WARNING: some tests where exluded, see variable EXCLTESTS"; fi @if [ -n "$(ext_)" ]; then echo "WARNING: some tests where exluded, see variable EXCLTESTS"; fi
endif endif
File added
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