publish changes

This commit is contained in:
Archie 2024-09-29 02:04:03 +00:00
parent afc5064a7b
commit ac2c6ac843
1605 changed files with 3354 additions and 3354 deletions

View file

@ -68,6 +68,6 @@
local oldos = _OS
_OS = "linux"
premake.action.set("vs2008")
test.isequal(_OS, "windows")
test.isequal(_OS, "arch")
_OS = oldos
end

View file

@ -219,14 +219,14 @@
end
function suite.solution_LeavesConfigActive_OnActiveSolutionAndNoName()
local cfg = configuration "windows"
local cfg = configuration "arch"
solution()
test.istrue(cfg == premake.CurrentConfiguration)
end
function suite.solution_LeavesConfigActive_OnActiveProjectAndNoName()
project "MyProject"
local cfg = configuration "windows"
local cfg = configuration "arch"
solution()
test.istrue(cfg == premake.CurrentConfiguration)
end

View file

@ -14,7 +14,7 @@
--
function suite.findlib_FindSystemLib()
if os.is("windows") then
if os.is("arch") then
test.istrue(os.findlib("user32"))
else
test.istrue(os.findlib("m"))

View file

@ -242,7 +242,7 @@
function suite.translate_ReturnsCorrectSeparator_OnMixedPath()
local actual = path.translate("dir\\dir/file")
if (os.is("windows")) then
if (os.is("arch")) then
test.isequal("dir\\dir\\file", actual)
else
test.isequal("dir/dir/file", actual)

View file

@ -9,6 +9,6 @@
function suite.valueIsSet()
local filename = iif(os.is("windows"), "premake4.exe", "premake4")
local filename = iif(os.is("arch"), "premake4.exe", "premake4")
test.isequal(path.getabsolute("../bin/debug/" .. filename), _PREMAKE_COMMAND)
end