mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
[FunC] Enrich and refactor testing framework, add negative tests
* fully refactor run_tests.py, make it extensible for the future * an ability to write @compilation_should_fail tests * an ability to launch run_tests.py for a single .fc file * keep run_tests.js in sync with run_tests.py * extract legacy_tests names/hashes to a separate file shared between legacy_tester.py and legacy_tester.js
This commit is contained in:
parent
0bc6305f96
commit
a5d2a1003f
9 changed files with 615 additions and 203 deletions
8
crypto/func/auto-tests/tests/invalid.fc
Normal file
8
crypto/func/auto-tests/tests/invalid.fc
Normal file
|
@ -0,0 +1,8 @@
|
|||
_ main(s) {
|
||||
var (z, t) = ;
|
||||
|
||||
{-
|
||||
@compilation_should_fail
|
||||
@stderr identifier expected instead of `;`
|
||||
@stderr var (z, t) = ;
|
||||
-}
|
Loading…
Add table
Add a link
Reference in a new issue