985c58103c
- Rename executable to premake5 - Default to premake5.lua project script; fallback to premake4.lua if not found - Clean up internal references to premake4 naming
14 lines
402 B
Lua
14 lines
402 B
Lua
--
|
|
-- tests/base/test_premake_command.lua
|
|
-- Test the initialization of the _PREMAKE_COMMAND global.
|
|
-- Copyright (c) 2012-2013 Jason Perkins and the Premake project
|
|
--
|
|
|
|
local suite = test.declare("premake_command")
|
|
|
|
|
|
function suite.valueIsSet()
|
|
local filename = iif(os.is("windows"), "premake5.exe", "premake5")
|
|
test.isequal(path.getabsolute("../bin/debug/" .. filename), _PREMAKE_COMMAND)
|
|
end
|