--- byo run-tests: pea/TEST.sh test-example-hello [1/5] make-pystub _bin/shwrap/pea_main pea/pea_main.py mycpp/__init__.py mycpp/const_pass.py mycpp/control_flow_pass.py mycpp/conversion_pass.py mycpp/cppgen_pass.py mycpp/crash.py mycpp/format_strings.py mycpp/pass_state.py mycpp/translate.py mycpp/util.py mycpp/visitor.py pea/__init__.py pea/gen_cpp.py pea/header.py pea/mypy_shim.py pea/parse.py [2/5] pea /home/uke/oil/mycpp:/home/uke/oil/pyext _gen/mycpp/examples/pea_hello_raw.pea.cc mycpp/examples/pea_hello.py PEA loading mycpp/examples/pea_hello.py Pea begin {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} prog mycpp pass: CONVERT mycpp pass: CONTROL FLOW mycpp: dumping control flow graph to _tmp/mycpp-facts mycpp pass: CONST mycpp pass: DECL mycpp pass: IMPL mycpp DONE [3/5] wrap-cc _gen/mycpp/examples/pea_hello.pea.cc pea_main pea_hello _gen/mycpp/examples/pea_hello_raw.pea.cc '' _gen/mycpp/examples/pea_hello.pea.cc [4/5] cxx asan '' _gen/mycpp/examples/pea_hello.pea.cc _build/obj/cxx-asan/_gen/mycpp/examples/pea_hello.pea.o [5/5] LINK cxx asan '' _bin/cxx-asan/mycpp/examples/pea_hello.pea _build/obj/cxx-asan/_gen/mycpp/examples/pea_hello.pea.o _build/obj/cxx-asan/mycpp/bump_leak_heap.o _build/obj/cxx-asan/mycpp/gc_builtins.o _build/obj/cxx-asan/mycpp/gc_iolib.o _build/obj/cxx-asan/mycpp/gc_mops.o _build/obj/cxx-asan/mycpp/gc_mylib.o _build/obj/cxx-asan/mycpp/gc_str.o _build/obj/cxx-asan/mycpp/hash.o _build/obj/cxx-asan/mycpp/mark_sweep_heap.o OK test-mycpp-integration --- PEA loading mycpp pass: CONVERT mycpp pass: CONTROL FLOW mycpp: dumping control flow graph to _tmp/mycpp-facts mycpp pass: CONST mycpp pass: DECL mycpp pass: IMPL mycpp DONE // BEGIN mycpp output #include "mycpp/runtime.h" --- PEA loading mycpp/examples/test_small_str.py Pea begin {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} prog mycpp pass: CONVERT mycpp pass: CONTROL FLOW mycpp: dumping control flow graph to _tmp/mycpp-facts mycpp pass: CONST mycpp pass: DECL mycpp pass: IMPL mycpp DONE // BEGIN mycpp output #include "mycpp/runtime.h" namespace test_small_str { // forward declare } namespace test_small_str { // declare int main(List* argv); } // declare namespace test_small_str namespace test_small_str { // define int main(List* argv) { StackRoot _root0(&argv); return 42; } } // define namespace test_small_str OK test-syntax-error Pea begin Pea begin Parsed 1 files and their type comments {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} Collected 7 constants Wrote forward declarations {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} Type comment syntax error on line 23 of pea/testdata/sig_err.py: '(List[str_SYNTAX_ERROR) -> int' Pea begin Parsed 1 files and their type comments {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} Collected 7 constants Wrote forward declarations {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} Wrote prototypes {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 1, 'num_methods': 0, 'num_strings': 0} Type comment syntax error on line 28 of pea/testdata/assign_err.py: 'List[SYNTAX_ERROR' OK test-translate Pea begin Parsed 1 files and their type comments {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} Collected 33 constants Wrote forward declarations {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 0, 'num_methods': 0, 'num_strings': 0} Wrote prototypes {'num_assign': 0, 'num_classes': 0, 'num_files': 1, 'num_funcs': 3, 'num_methods': 0, 'num_strings': 0} Wrote implementation {'num_assign': 9, 'num_classes': 0, 'num_files': 1, 'num_funcs': 3, 'num_methods': 0, 'num_strings': 0} Done OK devtools/byo.sh: 4 tests passed.