forked from pool/lua-language-server
Add fix_i586_test.patch to switch off testing architecture in bee.lua
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=3
This commit is contained in:
parent
9af1967ccd
commit
cce12d23b9
27
fix_i586_test.patch
Normal file
27
fix_i586_test.patch
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
3rd/bee.lua/test/test_platform.lua | 2 ++
|
||||
3rd/luamake/3rd/bee.lua/test/test_platform.lua | 2 ++
|
||||
2 files changed, 4 insertions(+)
|
||||
|
||||
--- a/3rd/bee.lua/test/test_platform.lua
|
||||
+++ b/3rd/bee.lua/test/test_platform.lua
|
||||
@@ -43,6 +43,8 @@ function test_plat:test_1()
|
||||
if plat == 'linux' then
|
||||
lu.assertEquals(platform.Compiler == 'gcc' or platform.Compiler == 'clang', true)
|
||||
support.linux.Compiler = platform.Compiler
|
||||
+ -- There are too many platforms Linux run on
|
||||
+ support[plat].Arch = platform.Arch
|
||||
end
|
||||
if plat == 'msvc' or plat == 'msbuild' then
|
||||
lu.assertEquals(platform.Arch == 'x86' or platform.Arch == 'x86_64', true)
|
||||
--- a/3rd/luamake/3rd/bee.lua/test/test_platform.lua
|
||||
+++ b/3rd/luamake/3rd/bee.lua/test/test_platform.lua
|
||||
@@ -43,6 +43,8 @@ function test_plat:test_1()
|
||||
if plat == 'linux' then
|
||||
lu.assertEquals(platform.Compiler == 'gcc' or platform.Compiler == 'clang', true)
|
||||
support.linux.Compiler = platform.Compiler
|
||||
+ -- There are too many platforms Linux run on
|
||||
+ support[plat].Arch = platform.Arch
|
||||
end
|
||||
if plat == 'msvc' or plat == 'msbuild' then
|
||||
lu.assertEquals(platform.Arch == 'x86' or platform.Arch == 'x86_64', true)
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 16 18:15:52 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add fix_i586_test.patch to switch off testing architecture in bee.lua
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 16 12:26:44 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
|
@ -26,6 +26,9 @@ Url: https://github.com/sumneko/lua-language-server
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: lua-lsp-launcher.sh
|
||||
Source2: README.suse-maint.md
|
||||
# PATCH-FIX-UPSTREAM fix_i586_test.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# It doesn't make sense to limit platforms where Linux could run.
|
||||
Patch0: fix_i586_test.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja
|
||||
BuildRequires: fdupes
|
||||
|
Loading…
x
Reference in New Issue
Block a user