2017-06-25 15:57:53 +00:00
|
|
|
--
|
|
|
|
-- tests/base/test_binmodules.lua
|
|
|
|
-- Verify handling of binary modules.
|
|
|
|
-- Copyright (c) 2017 Tom van Dijck and the Premake project
|
|
|
|
--
|
|
|
|
|
|
|
|
local suite = test.declare("premake_binmodules")
|
|
|
|
local p = premake
|
|
|
|
|
|
|
|
|
|
|
|
function suite.setup()
|
|
|
|
require("example")
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function suite.testExample()
|
2017-08-10 18:40:45 +00:00
|
|
|
local result = example.test("world")
|
|
|
|
test.isequal("hello world", result)
|
2017-06-25 15:57:53 +00:00
|
|
|
end
|