Equivlence under Abstraction Testing Suite
This directory contains sources and other resources needed for building,
testing and creating the testing suite for Equivlence under Abstraction.
Usage:
Copy the TVLA version that should run to the reference_tvla sub-directory
(usually, tvla.properties, user.properties and the lib sub-directory are enough).
The following are the main targets:
- run_full_test (default target) : runs the full testing suite.
There are two parameters that can be passed from the command-line:
- java_max_mem : sets the maximum heap size for the Java virtual machine
(same as -Xmx). The default value is 700Mb.
- test_suite : specifies the test suite to use. The default is
test_suite_all
.
The available test suites are listed in testSuites.xml
(enter ant -f testSuites.xml -projecthelp
to view the list of available
test suites).
Current tests are:
-
test_suite_concurrent_general
Runs the tests for the concurrent ADTs using k general clients, where k = 1 ... 4.
-
test_suite_concurrent_prodcons
Runs the tests for the concurrent ADTs using k producers and k consumers, where k = 1 ... 4.
Examples:
ant -logfile results.txt
Runs a full test cycle.
ant -Dtest_suite="test_suite_concurrent_general
Runs the tests for the concurrent ADTs using a general client.
Directory structure:
./
.classpath : used by the Eclipse project.
.project : an Eclipse project file.
build.xml : contains targets for running tests in different ways.
testSuites.xml : contains test suites.
build_tasks.xml : compiles ANT tasks that are needed internally to run TVLA and DOT from ANT.
build
Contains classes needed internally by the regression testing system.
src
Contains sources of utilities needed to run regression tests.
reference_tvla
Contains the components needed to run TVLA.
results
Contains the results of the tests (when this directory exists).
tests
Contains TVLA inputs.