Convert parser tests to filetests.
Create a new directory hierarchy under 'filetests' for all the tests that are run by 'cton-util test'. Convert the parser tests under 'tests/parser' to use 'test cat' and filecheck directives.
This commit is contained in:
@@ -58,10 +58,12 @@ cargo build --release
|
||||
|
||||
export CTONUTIL="$topdir/src/tools/target/release/cton-util"
|
||||
|
||||
cd "$topdir"
|
||||
banner "File tests"
|
||||
"$CTONUTIL" test filetests
|
||||
|
||||
# Run the parser tests.
|
||||
cd "$topdir/tests"
|
||||
banner "Parser tests"
|
||||
parser/run.sh
|
||||
banner "CFG tests"
|
||||
cfg/run.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user