From 5f89c950cc868360decd23bff8dc2fadf1599e40 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Aug 04 2018 15:42:51 +0000 Subject: Run tests in infrastructure Signed-off-by: Igor Gnatenko --- diff --git a/rust-humantime.spec b/rust-humantime.spec index 7d0e1f1..cce5a36 100644 --- a/rust-humantime.spec +++ b/rust-humantime.spec @@ -1,5 +1,6 @@ # Generated by rust2rpm -%bcond_without check +# Tests are run in infrastructure +%bcond_with check %global debug_package %{nil} %global crate humantime @@ -60,6 +61,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{bulk,vagga}.yaml %changelog +* Sat Aug 04 2018 Igor Gnatenko - 1.1.1-2 +- Run tests in infrastructure + * Sat Jul 14 2018 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_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..91c412e --- /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-humantime