QEMU allows to emulate a processor (even of different architecture). We cross-compile to aarch64 and arm64, among others. Even though developers run tests on those architectures sporadically, it would be nice if there was documentation or a script in our repo on how to do that in QEMU.
[help needed] Add notes on how to run unit and functional tests in QEMU #16576
issue MarcoFalke opened this issue on August 9, 2019-
MarcoFalke commented at 3:06 PM on August 9, 2019: member
- MarcoFalke added the label Docs on Aug 9, 2019
- MarcoFalke added the label good first issue on Aug 9, 2019
- MarcoFalke added the label Tests on Aug 9, 2019
-
emilengler commented at 8:39 PM on August 9, 2019: contributor
What do you mean by this? Like how to setup such a system?
-
MarcoFalke commented at 2:41 PM on August 11, 2019: member
See also #6466 (comment)
-
kakirastern commented at 10:17 PM on August 14, 2019: none
Hi, I would like to contribute and have a go at this issue. Would that be okay?
-
fanquake commented at 10:20 PM on August 14, 2019: member
Hi, I would like to contribute and have a go at this issue. Would that be okay? @kakirastern Yes. Make sure you also checkout CONTRIBUTING.md.
-
kakirastern commented at 10:21 PM on August 14, 2019: none
Thanks for the prompt reply @fanquake ! Yup. will do.
-
MarcoFalke commented at 12:35 PM on August 15, 2019: member
Hi, I would like to contribute and have a go at this issue. Would that be okay?
No need to ask for permission if you want to help out. :)
-
kakirastern commented at 12:39 PM on August 30, 2019: none
Ideally where should such a script or scripts be located? Should I do one in
/bitcoin/src/testfor the unit tests and a separate one in/bitcoin/test/functionalfor the functional tests? -
emilengler commented at 4:00 PM on August 30, 2019: contributor
I think that's totally ok :)
- MarcoFalke removed the label good first issue on Sep 8, 2019
-
MarcoFalke commented at 4:03 PM on September 8, 2019: member
Oh, I forgot that this already exists: https://github.com/bitcoin-core/docs/pull/49
-
kakirastern commented at 4:23 PM on September 8, 2019: none
Not a problem @MarcoFalke. Some version of it is still needed for AArch64 and ARM64 (in lieu of RISC-V) as in #16576 (comment)?
-
kakirastern commented at 4:50 PM on September 8, 2019: none
Or I could build on that PR on setting up RISC-V emulation for testing and generalise it by adding more information to it. The documents will be in different locations so some overlapping of contents should not be that much of a big deal.
- fanquake closed this on Oct 9, 2019
- sidhujag referenced this in commit a779ca114e on Oct 9, 2019
- DrahtBot locked this on Dec 16, 2021