From f0596281207c078083586dea8945d55d3d2d26b2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 17 2019 17:42:13 +0000 Subject: Run tests in infrastructure Signed-off-by: Igor Gnatenko --- diff --git a/rust-difference.spec b/rust-difference.spec index 165fbf5..771a681 100644 --- a/rust-difference.spec +++ b/rust-difference.spec @@ -1,5 +1,5 @@ # Generated by rust2rpm -%bcond_without check +%bcond_with check %global debug_package %{nil} # Binary is pretty useless @@ -9,7 +9,7 @@ Name: rust-%{crate} Version: 2.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Rust text diffing and assertion library License: MIT @@ -90,6 +90,9 @@ which use "getopts" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 17 2019 Igor Gnatenko - 2.0.0-8 +- Tests are run in infrastructure + * Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..089ae05 --- /dev/null +++ b/tests/tests.yml @@ -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-difference