Source

lua.channels / tests / test-suite.lua


require "channels"

if _G['arg'] == nil then
	error("Must be run as script (via lua executable)")
end

if #arg ~= 2 then
	error(
[[
Should be executed with two arguments:
1. Package path to where channels module is located
2. Test script to execute
]]
	)
end