Skip to content

list_ports() throws SP_ERR_MEM on Linux Arm64 #75

@mgkuhn

Description

@mgkuhn

Any idea why the Travis CI checks fail for Linux Arm64 (e.g. in #74)?

$ julia --check-bounds=yes --color=yes -e "if VERSION < v\"0.7.0-DEV.5183\"; Pkg.test(\"${JL_PKG}\", coverage=true); else using Pkg; Pkg.test(coverage=true); end"
   Testing LibSerialPort
 Resolving package versions...
LibSerialPort CI port listing: Error During Test at /home/travis/build/JuliaIO/LibSerialPort.jl/test/runtests.jl:21
  Got exception outside of a @test
  libserialport returned SP_ERR_MEM - Memory allocation failed.
  Stacktrace:
   [1] error(::String) at ./error.jl:33
   [2] check(::SPReturn) at /home/travis/build/JuliaIO/LibSerialPort.jl/src/wrap.jl:299
   [3] #list_ports#3(::Int64, ::typeof(list_ports)) at /home/travis/build/JuliaIO/LibSerialPort.jl/src/wrap.jl:323
   [4] list_ports() at /home/travis/build/JuliaIO/LibSerialPort.jl/src/LibSerialPort.jl:280
   [5] top-level scope at /home/travis/build/JuliaIO/LibSerialPort.jl/test/runtests.jl:22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions