Run tests in infrastructure

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent f612214953
commit fb7bca2559
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,12 +1,13 @@
# Generated by rust2rpm
%bcond_without check
# * Tests are run in infrastructure
%bcond_with check
%global debug_package %{nil}
%global crate quick-error
Name: rust-%{crate}
Version: 1.2.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Macro which makes error types pleasant to write
# Upstream license specification: MIT/Apache-2.0
@ -66,6 +67,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.2-4
- Run tests in infrastructure
* Tue Oct 30 2018 Josh Stone <jistone@redhat.com> - 1.2.2-3
- Adapt to new packaging

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-quick-error
Loading…
Cancel
Save