Skip to content

Test matrix for hidapi release #376

Closed

Description

@mcuee

It seems to me it is a good idea to have the test matrix, similar to the following for libusb-1.0.25rc1.

Activity

  1. added
    Release
    on Feb 6, 2022
  2. changed the title [-]Test matrix for hidapi[/-] [+]Test matrix for hidapi release[/+] on Feb 6, 2022
  3. mcuee commented on Feb 9, 2022

    @mcuee
    MemberAuthor

    macports seem to provide a good one for macOS support.
    Ref: https://ports.macports.org/port/hidapi/details/

    From here for HIDAPI Version: 0.11.2
    https://ports.macports.org/port/hidapi/details/

    • Monterey (arm64)
    • Monterey (x86_64)
    • Big Sur (arm64)
    • Big Sur (x86_64)
    • Catalina
    • Mojave
    • High Sierra
    • Sierra
    • El Capitan
    • Yosemite
    • Mavericks
    • Mountain Lion
    • Lion
    • Snow Leopard (x86_64)
    • Snow Leopard (i386)
    • Leopard (ppc legacy) -->???
  4. Youw commented on Feb 9, 2022

    @Youw
    Member

    A question here - what do we test by this?
    If just to verify that it builds - Github Actions / Appveyor / builds.sr.ht is an indication as well.

  5. mcuee commented on Feb 9, 2022

    @mcuee
    MemberAuthor

    The idea is not only to carry out build test, but also test with a few real devices (USB/Bluetooth) using hidtest (hidapitester is another good one) and other applications dependant on hidapi.

    Ref: similar discussion in libusb

    It will be good to document some known good devices to carry out the tests.

  6. mcuee commented on Feb 9, 2022

    @mcuee
    MemberAuthor

    The other thing is to see the operating systems the contributors are able to test: eg: Windows versions, macOS versions, Linux and FreeBSD.

    For example, does it make sense to still support Windows XP and Vista? Or old macOS versions? Or very old Linux versions?

  7. Youw commented on Feb 9, 2022

    @Youw
    Member

    does it make sense to still support Windows XP and Vista? Or old macOS versions? Or very old Linux versions?

    For as long as it doesn't require the actually effort / workarounds on a code level to support those.

  8. Youw commented on May 2, 2022

    @Youw
    Member

    I'm ready to release a v0.12.0.

    How do we want to proceed with the test matrix for it?

  9. mcuee commented on May 3, 2022

    @mcuee
    MemberAuthor

    @Youw I am okay with either of the following.

    1. Just release v0.12.0 as it is. Right now I tend to think hidapi is rather stable so this is an okay option.

    2. Release 0.12.0rc1 first and then wait for two weeks to release v0.12.0 so that people can test hidapi on different operating systems and different devices to see if there are regressions. It would also be good to check the major language bindinges (eg: cython-hidapi and node-hid).

  10. mcuee commented on May 3, 2022

    @mcuee
    MemberAuthor

    Reference: libusb 1.0.26-rc1 test matrix

    If we go with this idea I should be able to test under the following system. I will use CMake on most of the systems. Then I will also test the VS solution using VS2019.

    macOS 12 ARM64 (mac Mini M1)

    • build: Apple clang
    • run: hidtest and hidapitester

    macOS 12 x86_64 using Rosetta Translation, not native (mac Mini M1)

    • build: Apple clang
    • run: hidtest and hidapitester

    Linux x86_64 (Ubuntu 20.04)

    • build: gcc 9.4
    • run: hidtest and hidaptester

    Linux ARM32 (Raspberry Pi 400 running Raspberry Pi OS Bullseye 32 bit)

    • build: gcc
    • run: hidtest and hidaptester

    Linux ARM64 (Raspberry Pi 400 running Raspberry Pi OS Bullseye 64 bit)

    • build: gcc
    • run: hidtest and hidaptester

    Windows VS2019 64 bit (Windows 11 x64 laptop)

    • build:
    • run: hidtest and hidaptester

    Windows VS2019 32 bit (Windows 11 x64 laptop)

    • build:
    • run: hidtest and hidaptester

    Windows MinGW 64 bit (Windows 11 x64 laptop)

    • build: MSYS2 MinGW-w64 64bit GCC
    • run: hidtest and hidaptester

    Windows MinGW 32 bit (Windows 11 x64 laptop)

    • build: MinGW-w64 32 bit GCC
    • run: hidtest and hidaptester
  11. mcuee commented on May 3, 2022

    @mcuee
    MemberAuthor

    I can not test macOS Intel but I am sure there are people who can test it. Same for FreeBSD.

    Then I am probably not good at testing cython-hidapi and node-hid but again other people can test. I will try to test them as well.

  12. Youw commented on May 3, 2022

    @Youw
    Member
  13. mcuee commented on May 4, 2022

    @mcuee
    MemberAuthor

    Close this as #407 has been raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions