Offline generation of 4.5.1536750184.92e52b69

4.5.1536750184.92e52b69

OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=129
This commit is contained in:
Oliver Kurz 2018-09-13 15:12:20 +00:00 committed by Git OBS Bridge
parent 4eab266b32
commit 05d868d0c0
7 changed files with 82 additions and 8 deletions

View File

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

View File

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

11
os-autoinst-test.changes Normal file
View File

@ -0,0 +1,11 @@
-------------------------------------------------------------------
Thu Sep 13 15:11:54 UTC 2018 - okurz@suse.com
- Update to version 4.5.1536750184.92e52b69:
* command server: Don't mix myjsonrpc with Mojo::IOLoop::Stream
* Improve log messages and error handling in web socket server
-------------------------------------------------------------------
Mon Sep 10 10:58:21 UTC 2018 - okurz@suse.com
- Add package self-test with separate spec-file

55
os-autoinst-test.spec Normal file
View File

@ -0,0 +1,55 @@
#
# spec file for package os
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define name_ext -test
%define short_name os-autoinst
Name: %{short_name}%{?name_ext}
Version: 4.5.1536750184.92e52b69
Release: 0
Summary: test package for os-autoinst
License: GPL-2.0+
BuildRequires: %{short_name} == %{version}
%description
.
%prep
# workaround to prevent post/install failing assuming this file for whatever
# reason
touch %{_sourcedir}/%{short_name}
%build
# call one of the components but not openqa itself which would need a valid
# configuration
isotovideo --help
echo '1;' > main.pm
mkdir needles
cat - > vars.json <<EOF
{
"CASEDIR": "/tmp",
"PRJDIR": "/tmp"
}
EOF
isotovideo -d casedir=$(pwd -P) productdir=$(pwd -P) |& tee isotovideo.log ||:
grep 'DIE no kvm-img/qemu-img found' isotovideo.log
%install
# disable debug packages in package test to prevent error about missing files
%define debug_package %{nil}
%changelog

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 13 15:11:54 UTC 2018 - okurz@suse.com
- Update to version 4.5.1536750184.92e52b69:
* command server: Don't mix myjsonrpc with Mojo::IOLoop::Stream
* Improve log messages and error handling in web socket server
-------------------------------------------------------------------
Fri Sep 07 13:27:43 UTC 2018 - okurz@suse.com

View File

@ -1,5 +1,5 @@
name: os-autoinst
version: 4.5.1536326847.7ce7ffba
mtime: 1536326847
commit: 7ce7ffba8c3b9b76b7ca8f64dc8b20389db7d6e7
version: 4.5.1536750184.92e52b69
mtime: 1536750184
commit: 92e52b692f20fc3d347deae80c1517c7df53cd81

View File

@ -17,7 +17,7 @@
Name: os-autoinst
Version: 4.5.1536326847.7ce7ffba
Version: 4.5.1536750184.92e52b69
Release: 0
Summary: OS-level test automation
License: GPL-2.0-or-later
@ -48,7 +48,8 @@ Recommends: tesseract-ocr
BuildRequires: %t_requires
Requires: %t_requires
BuildRequires: perl(Mojolicious)
Requires: perl(Mojolicious) >= 5.60
Requires: perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23
Requires: perl(Mojolicious) >= 7.92
# we shuffle around a lot of JSON, so make sure this is fast
# and the JSON modules have subtle differences and we only test against XS in production
Requires: perl(JSON::XS)