diff options
| author | OpportunityLiu <[email protected]> | 2019-07-16 15:08:10 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-07-16 15:08:10 +0800 |
| commit | 91debb265e334b111d65d2356e4bc1cca390ed41 (patch) | |
| tree | 3999228d6ed3e8889ff73412674d4587373ae7c2 /tests/plugins/project/test.lua | |
| parent | 9a10fde3739ccf1c5ef10657a827fa43076362da (diff) | |
add force
Diffstat (limited to 'tests/plugins/project/test.lua')
| -rw-r--r-- | tests/plugins/project/test.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/plugins/project/test.lua b/tests/plugins/project/test.lua index 0bf08208c..3109f09ca 100644 --- a/tests/plugins/project/test.lua +++ b/tests/plugins/project/test.lua @@ -23,8 +23,8 @@ function test_vsxmake(t) for name, _ in pairs(vs) do if tonumber(name) >= 2010 then -- set config - config.set("arch", arch) - config.set("vs", name) + config.set("arch", arch, {readonly = true, force = true}) + config.set("vs", name, {readonly = true, force = true}) config.check() platform.load(config.plat()) environment.enter("toolchains") @@ -43,11 +43,11 @@ function test_vsxmake(t) { function () io.write("--- sln file ---\n") - io.write(io.readfile(projname .. "_" .. vstype .. ".sln"), "\n") + io.cat(projname .. "_" .. vstype .. ".sln") io.write("--- vcx file ---\n") - io.write(io.readfile(projname .. "/" .. projname .. ".vcxproj"), "\n") + io.cat(projname .. "/" .. projname .. ".vcxproj") io.write("--- filter file ---\n") - io.write(io.readfile(projname .. "/" .. projname .. ".vcxproj.filters"), "\n") + io.cat(projname .. "/" .. projname .. ".vcxproj.filters") raise("msbuild failed") end } |
