From b0d47f6f338f6f38072a6fa478fffcc5871a8e29 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 21 Jul 2018 00:38:37 +0200 Subject: [PATCH] Run tests in infrastructure Signed-off-by: Igor Gnatenko --- rust-serde_bytes.spec | 8 +++++--- tests/tests.yml | 13 +++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 tests/tests.yml diff --git a/rust-serde_bytes.spec b/rust-serde_bytes.spec index 09fb3bf..eb21da2 100644 --- a/rust-serde_bytes.spec +++ b/rust-serde_bytes.spec @@ -1,6 +1,5 @@ # Generated by rust2rpm -# bincode is dependency for tests (in next version), but that makes circular dep -# serde_bytes(dev) -> bincode(dev) -> serde_bytes +# Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -8,7 +7,7 @@ Name: rust-%{crate} Version: 0.10.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Optimized handling of `&[u8]` and `Vec` for Serde License: MIT or ASL 2.0 @@ -61,6 +60,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat Jul 21 2018 Igor Gnatenko - 0.10.4-3 +- Run tests in infrastructure + * Sat Jul 14 2018 Fedora Release Engineering - 0.10.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..07f5dcf --- /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-serde_bytes