BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
216 stars 80 forks source link

simulator: print simulator msgs only in simulator, not in unit tests #1187

Closed benma closed 3 months ago

benma commented 4 months ago

The c-unit-testing is also active in Rust unit tests, so the simulator msgs were printed there. This commit moves the stdout prints to ui_stub_c_unit_tests.rs, which is only used in the simulator.