|
|
1 gadu atpakaļ | |
|---|---|---|
| .. | ||
| CMakeLists.txt | 1 gadu atpakaļ | |
| README.md | 1 gadu atpakaļ | |
| catch.hpp | 1 gadu atpakaļ | |
| hello-world.bin | 1 gadu atpakaļ | |
| qemu_test.cpp | 1 gadu atpakaļ | |
| run_test.sh | 1 gadu atpakaļ | |
| serial_io_mock.cpp | 1 gadu atpakaļ | |
| serial_io_mock.h | 1 gadu atpakaļ | |
| serial_io_tcp.cpp | 1 gadu atpakaļ | |
| test.cpp | 1 gadu atpakaļ | |
| test_main.cpp | 1 gadu atpakaļ | |
##Overview
Two kinds of tests are written for serial flasher:
Qemu tests uses emulated esp32 to test correctness of the library.
Please refer to building qemu for instructions how to compile.
QEMU_PATH environment variable pointing to compiled qemu/build/xtensa-softmmu/qemu-system-xtensa has to be defined.
export QEMU_PATH=path_to_qemu-system-xtensa
./run_test.sh qemu
./run_test.sh host