SHA256
1
0
forked from pool/lua-testmore

Accepting request 1002512 from home:Pi-Cla

Added the requested tests

OBS-URL: https://build.opensuse.org/request/show/1002512
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-testmore?expand=0&rev=1
This commit is contained in:
Matej Cepl 2022-09-15 07:44:44 +00:00 committed by Git OBS Bridge
commit dbac077b79
7 changed files with 116 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

5
_multibuild Normal file
View File

@ -0,0 +1,5 @@
<multibuild>
<package>lua51</package>
<package>lua53</package>
<package>lua54</package>
</multibuild>

16
_service Normal file
View File

@ -0,0 +1,16 @@
<services>
<service mode="manual" name="obs_scm">
<param name="url">https://framagit.org/fperrad/lua-TestMore.git</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">e441547009f891a259c6324ef50d9ed9fee39538</param>
<param name="versionrewrite-pattern">(\d+.\d+.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service mode="manual" name="tar" />
<service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="manual" name="set_version"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bce7f03000383cfae704f0a1809673b6738b4eb2b7c4509894ac8f485bc4db7e
size 18772

4
lua-testmore.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Aug 25 04:21:54 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>
- initial commit

64
lua-testmore.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define flavor @BUILD_FLAVOR@
%define mod_name testmore
Version: 0.3.6+git2
Release: 0
Summary: A Lua port of the Perl Test::More unit testing framework
License: MIT
Group: Development/Languages/Other
URL: https://framagit.org/fperrad/lua-TestMore
Source: lua-TestMore-%{version}.tar.xz
BuildRequires: %{flavor}-devel
Requires: %{flavor}
%lua_provides
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
BuildArch: noarch
%description
lua-TestMore is a port of the Perl5 module Test::More. It uses the
Test Anything Protocol as output, that allows a compatibility with
the Perl QA ecosystem. It's an extensible framework.
See lua-TestAssertion an extension which provides many Lua friendly
assertions. It allows a simple and efficient way to write tests
(without OO style). Some tests could be marked as TODO or skipped.
Errors could be fully checked with error_like().
%prep
%autosetup -n lua-TestMore-%{version}
%build
%install
%make_install LUAVER="%{lua_version}" PREFIX=/usr
%check
make check
%files
%license COPYRIGHT
%doc README.md CHANGES
%{lua_noarchdir}
%changelog