Skip to content

Commit 1b4e564

Browse files
committed
Use deterministic CI test baseline
1 parent 2872d1b commit 1b4e564

3 files changed

Lines changed: 24 additions & 3 deletions

File tree

build.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,28 @@
293293
</junit>
294294
</target>
295295

296+
<target name="ci-test" depends="dist,test-compile,install">
297+
<echo> Running CI tests </echo>
298+
<echo> test_classes: ${test_classes} </echo>
299+
<echo> java.library.path: ${java.library.path} </echo>
300+
<junit printsummary="on" haltonfailure="yes" fork="true">
301+
<sysproperty key="java.library.path" path="${jnilib}"/>
302+
<classpath>
303+
<path refid="classpath.test"/>
304+
<pathelement location="${test_classes}"/>
305+
</classpath>
306+
<formatter type="brief" usefile="false" />
307+
<test name="com.sri.yices.TestBigRationals"/>
308+
<test name="com.sri.yices.TestConstructor"/>
309+
<test name="com.sri.yices.TestContext"/>
310+
<test name="com.sri.yices.TestStatus"/>
311+
<test name="com.sri.yices.TestTypes"/>
312+
<test name="com.sri.yices.TestYices"/>
313+
<test name="com.sri.yices.TestModels"/>
314+
<test name="com.sri.yices.TestTermComponents"/>
315+
</junit>
316+
</target>
317+
296318
<path id="classpath.examples">
297319
<pathelement location="${dist}/lib/yices.jar"/>
298320
<pathelement location="examples"/>

scripts/ci-build-test-unix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ run_java_ci() {
4949
export YICES_CLASSPATH="${REPO_ROOT}/build/classes"
5050

5151
pushd "${REPO_ROOT}" >/dev/null
52-
ant clean test
52+
ant clean ci-test
5353
popd >/dev/null
5454
}
5555

scripts/ci-build-test-windows.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ run_tests() {
144144
com.sri.yices.TestTypes \
145145
com.sri.yices.TestYices \
146146
com.sri.yices.TestModels \
147-
com.sri.yices.TestTermComponents \
148-
com.sri.yices.TestThreads
147+
com.sri.yices.TestTermComponents
149148
popd >/dev/null
150149
}
151150

0 commit comments

Comments
 (0)