diff options
| author | Tom Harley | 2018-07-04 21:08:05 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-07-04 21:08:05 +0100 |
| commit | 2ac50103672df10af130d3b1003980f087bc17dd (patch) | |
| tree | 5edfb47b87829964f7affdba7b41e94312e44cc0 /tests | |
| parent | Remove extension auto-adding (diff) | |
| download | machines-2ac50103672df10af130d3b1003980f087bc17dd.tar.gz machines-2ac50103672df10af130d3b1003980f087bc17dd.zip | |
Add nondeterminism.
Add the ability to specify non-deterministic TMs. Listing multiple outcomes for a particular state-input combo will create a non-deterministic split instead of using only the latest one in the list.
Deterministic TMs should use a .dtm suffix, and non-deterministic TMs should use .ntm. TMs with the extension .tm will be assumed to be non-deterministic for compatability.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.sh b/tests/test.sh index b16f4fc..672ff01 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -7,8 +7,8 @@ for file in `ls -1 $1` ; do if [ -e "$1/$file/testgen.sh" ] ; then "$1/$file/testgen.sh" 50 | while read line ; do split=($line) - echo ./tmachines $1/$file/$file.tm $line - test "./tmachines --quiet $1/$file/$file.tm ${split[0]}" ${split[1]} + echo ./tmachines $1/$file/$file'.*tm' $line + test "./tmachines --quiet $1/$file/$file"'.*tm'" ${split[0]}" ${split[1]} done fi done |
