- Skeleton repository for ACT projects.
- Typically, different classes of processes should exist in their own namespaces, defined within their own folders.
- The top-level design should be in
src
and import all the modules/sub-processes it needs from the correct namespace.
- See
test
for folder structure. - Each folder in
test
contains one test case. - These folder names can be anything.
- The actfile for testing needs to be named
test.act
. - The process for testing needs to be named
test
. - The actsim input script needs to be named
test.actsim
. - Once a new test is set up this way, run
make truth
and input the folder name. - If actsim exits with no errors, the output files from actsim will be saved as
test.truth
andtest.errtruth
, which are assumed to be the correct output.
- Run
make test
or simplymake
to run through all test cases. - Run
make test_relaxed
to run through test cases without checking the.stderr
files.
- Run
make cleantest
to delete the generated files from running the test cases.
- To access the namespaces defined in
src
from elsewhere, add the path to thesrc
folder to yourACT_PATH
. - The command is
export ACT_PATH=$(pwd)/src:$ACT_PATH
if you're in the folder where this README is located.