mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix travis build segfault hopefully
This commit is contained in:
@@ -21,6 +21,3 @@ Input.dummy = true
|
||||
-- turn on debug
|
||||
local DEBUG = require("dbg")
|
||||
--DEBUG:turnOn()
|
||||
|
||||
-- use turbo lib in test
|
||||
DUSE_TURBO_LIB = true
|
||||
|
||||
@@ -4,7 +4,10 @@ local HTTPClient = require("httpclient")
|
||||
local DEBUG = require("dbg")
|
||||
--DEBUG:turnOn()
|
||||
|
||||
describe("HTTP client module", function()
|
||||
-- set true to test httpclient
|
||||
DUSE_TURBO_LIB = false
|
||||
|
||||
describe("HTTP client module #notest #nocov", function()
|
||||
local requests = 0
|
||||
local function response_callback(res)
|
||||
requests = requests - 1
|
||||
|
||||
Reference in New Issue
Block a user