Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_platforms.lua')
-rw-r--r--tests/test_platforms.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_platforms.lua b/tests/test_platforms.lua
index bb78eb0..ad1bbff 100644
--- a/tests/test_platforms.lua
+++ b/tests/test_platforms.lua
@@ -17,41 +17,41 @@
function T.platforms.filter_OnNoSolutionPlatforms()
- premake.buildconfigs()
+ premake.bake.buildconfigs()
r = premake.filterplatforms(sln, testmap)
test.isequal("", table.concat(r, ":"))
end
function T.platforms.filter_OnNoSolutionPlatformsAndDefault()
- premake.buildconfigs()
+ premake.bake.buildconfigs()
r = premake.filterplatforms(sln, testmap, "x32")
test.isequal("x32", table.concat(r, ":"))
end
function T.platforms.filter_OnIntersection()
platforms { "x32", "x64", "Xbox360" }
- premake.buildconfigs()
+ premake.bake.buildconfigs()
r = premake.filterplatforms(sln, testmap, "x32")
test.isequal("x32:x64", table.concat(r, ":"))
end
function T.platforms.filter_OnNoIntersection()
platforms { "Universal", "Xbox360" }
- premake.buildconfigs()
+ premake.bake.buildconfigs()
r = premake.filterplatforms(sln, testmap)
test.isequal("", table.concat(r, ":"))
end
function T.platforms.filter_OnNoIntersectionAndDefault()
platforms { "Universal", "Xbox360" }
- premake.buildconfigs()
+ premake.bake.buildconfigs()
r = premake.filterplatforms(sln, testmap, "x32")
test.isequal("x32", table.concat(r, ":"))
end
function T.platforms.filter_OnDuplicateKeys()
platforms { "Native", "x32" }
- premake.buildconfigs()
+ premake.bake.buildconfigs()
r = premake.filterplatforms(sln, testmap, "x32")
test.isequal("Native", table.concat(r, ":"))
end