ベアメタルRPi版MicroPythonのテスト(2回目)

MicroPythonのソースコードに付属しているテストは7月に一度試しましたが、それから実装もテストコードも変化しているので、久しぶりにもう一度やってみました。

が、結果的に特に新しい話はありませんでしたので、この記事は単なる自分用メモです。

$ ./run-tests --target minimal --device /dev/ttyUSB0 -b 115200 -d basics
(略)
435 tests performed (12704 individual testcases)
435 tests passed
26 tests skipped: builtin_compile builtin_override builtin_pow3 builtin_pow3_intbig builtin_range_binop builtin_round_int builtin_round_intbig bytes_partition class_delattr_setattr class_inplace_op class_notimpl class_reverse_op exception_chain fun_name generator_name io_buffered_writer namedtuple_asdict parser slice_attrs string_center string_partition string_rpartition string_splitlines subclass_native_call subclass_native_init sys_getsizeof

$ ./run-tests --target minimal --device /dev/ttyUSB0 -b 115200 -d micropython
(略)
21 tests performed (93 individual testcases)
21 tests passed
35 tests skipped: heapalloc_bytesio2 meminfo memstats native_closure native_const native_const_intbig native_misc native_try native_try_deep native_with opt_level viper_addr viper_args viper_binop_arith viper_binop_comp viper_binop_comp_imm viper_binop_divmod viper_binop_multi_comp viper_cond viper_const viper_const_intbig viper_error viper_globals viper_import viper_misc viper_misc_intbig viper_ptr16_load viper_ptr16_store viper_ptr32_load viper_ptr32_store viper_ptr8_load viper_ptr8_store viper_subscr viper_try viper_with

(メモ)emg_exc.pyがやたらに時間がかかった

$ ./run-tests --target minimal --device /dev/ttyUSB0 -b 115200 -d float
(略)
40 tests performed (1704 individual testcases)
40 tests passed
7 tests skipped: cmath_fun_special float2int_doubleprec_intbig float_divmod float_parse_doubleprec math_domain_special math_factorial_intbig math_fun_special

$ ./run-tests --target minimal --device /dev/ttyUSB0 -b 115200 -d misc
(略)
5 tests performed (97 individual testcases)
4 tests passed
1 tests skipped: rge_sm
1 tests failed: print_exception

$ ./run-tests --target minimal --device /dev/ttyUSB0 -b 115200 -d extmod
(略)
62 tests performed (813 individual testcases)
62 tests passed
26 tests skipped: btree1 machine1 machine_pinbase machine_pulse machine_signal ubinascii_crc32 ucryptolib_aes128_cbc ucryptolib_aes128_ecb ucryptolib_aes128_ecb_enc ucryptolib_aes128_ecb_inpl ucryptolib_aes128_ecb_into ucryptolib_aes256_cbc ucryptolib_aes256_ecb uhashlib_md5 uhashlib_sha1 uhashlib_sha256 urandom_extra urandom_extra_float ure_groups ure_span uselect_poll_basic ussl_basic uzlib_decompio uzlib_decompio_gz uzlib_decompress websocket_basic

コメント