You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
469 B
23 lines
469 B
#!/usr/bin/env lua5.2
|
|
|
|
-- Insert necessary directories into lua search path
|
|
package.path = "./?.lua;./tests/?.lua;./tests/support/?.lua;"..package.path
|
|
|
|
local test = require("u-test")
|
|
|
|
test_sources = {
|
|
"tests/cleanup.lua",
|
|
"tests/dirty.lua",
|
|
"tests/iters.lua",
|
|
"tests/listening.lua",
|
|
"tests/local.lua",
|
|
"tests/network.lua",
|
|
"tests/timeout.lua",
|
|
}
|
|
for _, source in ipairs(test_sources) do
|
|
loadfile("./tests/"..source)()
|
|
end
|
|
|
|
test.result()
|
|
test.summary()
|