Convert more tests to new build.

This commit is contained in:
Brad Nelson
2024-01-15 11:37:13 -08:00
parent b5aec80fd2
commit 8aff943a00
5 changed files with 33 additions and 4 deletions

View File

@ -31,6 +31,13 @@ WEB_ITEMS = [
Copy('$dst/web/script_lite_test.html', '$src/web/script_lite_test.html'),
Copy('$dst/web/script_test.html', '$src/web/script_test.html'),
Copy('$dst/web/script_test.fs', '$src/web/script_test.fs'),
TestCommand('$dst/tests/web_sanity_test.out',
' '.join([
'$dst/web/ueforth.js',
'$src/tools/check_web_sanity.py',
]),
'echo "120 3 + . cr bye" | ' + D8 + ' $dst/web/ueforth.js | '
'$src/tools/check_web_sanity.py $dst/tests/web_sanity_test.out'),
]
Alias('web', ' '.join(WEB_ITEMS))