Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails on Julia master (1.4) due to changes in internal (renaming jl_gc_total_bytes) #32

Closed
KristofferC opened this issue Jan 3, 2020 · 0 comments · Fixed by #37
Assignees

Comments

@KristofferC
Copy link

Due to change in some internals (JuliaLang/julia#33717) the tests here now fail with

Cfunction: Error During Test at /home/pkgeval/.julia/packages/CBinding/iXfy4/test/cfunction.jl:3
  Got exception outside of a @test
  could not load symbol "jl_gc_total_bytes":
  /opt/julia/bin/../lib/libjulia.so.1: undefined symbol: jl_gc_total_bytes

It is probably enough to just adapt the test at

f2 = Cfunction{Clong, Tuple{}}(lib, :jl_gc_total_bytes)
@test eltype(f2) <: Cfunction{Clong, Tuple{}}
@test typeof(f2()) === Clong
@test f2() isa Clong
@test_throws MethodError f2("no arguments, please!")

to the new name + signature of the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants