This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/tests/base/test_premake_command.lua
Jason Perkins 985c58103c Make the version change from 4.x to 5.x official
- Rename executable to premake5
- Default to premake5.lua project script; fallback to premake4.lua if not found
- Clean up internal references to premake4 naming
2013-09-10 16:24:39 -04:00

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