Skip to content

Test thread sleep msecs in main thread fails with lua 5.4 #818

@cryptomilk

Description

@cryptomilk

I've wanted to package lua-luv-1.52.1.0-1.fc43.src.rpm, but a test is failing with lua 5.4.

+ ln -sf obj-lua5.4/luv.so luv.so
+ lua tests/run.lua
cmd:    lua
cwd:    /builddir/build/BUILD/lua-luv-1.52.1.0-build/luv-1.52.1-0
1..146
  "in async notify callback"
  "a"   true    250
ok 1 async - test pass async between threads
  "timeout"     uv_timer_t: 0x55aa7ef962e0
  "closed"      uv_timer_t: 0x55aa7ef962e0
ok 2 callbacks - luv_handle_t: function
[...]

not ok 117 thread - test thread sleep msecs in main thread
  { elapsed = 102, delay = 100 }
Uncaught Error: Error: thread arg not support type 'table' at 1
stack traceback:
        [C]: in ?

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