From d6859305513099d125f6dad69cb35f29b796bebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 19 Jan 2022 15:35:46 +0800 Subject: dont test cross platform --- test/crossfile/definition.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/crossfile') diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua index ad26e96f..ecd6f98e 100644 --- a/test/crossfile/definition.lua +++ b/test/crossfile/definition.lua @@ -688,8 +688,8 @@ TEST { } } -local originOS = platform.OS -platform.OS = 'Linux' + +if platform.OS == 'Linux' then TEST { { @@ -742,7 +742,8 @@ TEST { ]] } } -platform.OS = originOS + +end local originRuntimePath = config.get(nil, 'Lua.runtime.path') config.set(nil, 'Lua.runtime.path', { -- cgit v1.2.3