[help needed] Add notes on how to run unit and functional tests in QEMU #16576

issue MarcoFalke opened this issue on August 9, 2019
  1. MarcoFalke commented at 3:06 PM on August 9, 2019: member

    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.

  2. MarcoFalke added the label Docs on Aug 9, 2019
  3. MarcoFalke added the label good first issue on Aug 9, 2019
  4. MarcoFalke added the label Tests on Aug 9, 2019
  5. emilengler commented at 8:39 PM on August 9, 2019: contributor

    What do you mean by this? Like how to setup such a system?

  6. MarcoFalke commented at 2:41 PM on August 11, 2019: member

    See also #6466 (comment)

  7. 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?

  8. 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.

  9. kakirastern commented at 10:21 PM on August 14, 2019: none

    Thanks for the prompt reply @fanquake ! Yup. will do.

  10. 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. :)

  11. 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/test for the unit tests and a separate one in /bitcoin/test/functional for the functional tests?

  12. emilengler commented at 4:00 PM on August 30, 2019: contributor

    I think that's totally ok :)

  13. MarcoFalke removed the label good first issue on Sep 8, 2019
  14. 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

  15. 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)?

  16. 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.

  17. fanquake closed this on Oct 9, 2019

  18. sidhujag referenced this in commit a779ca114e on Oct 9, 2019
  19. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me