This adds the crosscompiling emulator to the test configuration file, and make use of it in the test framework.
This is useful for running the tests with qemu or wine.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING7465b54f5f9d: Allow for using an emulator for the functional test framework
rABC7465b54f5f9d: Allow for using an emulator for the functional test framework
Prerequisite
sudo apt install qemu-user-static
Then:
cmake -GNinja .. \ -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/LinuxAArch64.cmake \ -DCMAKE_CROSSCOMPILING_EMULATOR=$(command -v qemu-aarch64-static) \ -DBUILD_BITCOIN_ZMQ=OFF QEMU_LD_PREFIX=/usr/aarch64-linux-gnu ninja check-functional
Sanity check for regression:
cmake -GNinja .. ninja check-functional
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- functional_tests_emulator2
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 10460 Build 18740: Default Diff Build & Tests Build 18739: arc lint + arc unit