effil/tests/lua/run_tests
mihacooper fd7a981d88
Dump table (effil.table -> table) (#134)
implement effil.dump()
2020-02-16 18:55:14 +03:00

27 lines
595 B
Lua
Executable File

#!/usr/bin/env lua
print("Using " .. _VERSION)
local scripts_path = arg[0]:gsub("[\\/]run_tests", "")
local src_path = scripts_path .. "/../.."
package.path = ";" .. scripts_path .. "/?.lua;"
.. src_path .. "/src/lua/?.lua;"
.. src_path .. "/libs/u-test/?.lua"
require "type"
require "gc"
require "channel"
require "thread"
require "shared-table"
require "metatable"
require "type_mismatch"
require "upvalues"
require "dump_table"
if os.getenv("STRESS") then
require "channel-stress"
require "thread-stress"
require "gc-stress"
end
test.summary()