From 06c57ca8f5646414500457ba007e779f5380c59b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 21 Jul 2018 00:48:42 +0200 Subject: [PATCH] Run tests in infrastructure Signed-off-by: Igor Gnatenko --- rust-scroll_derive.spec | 7 +++++-- tests/tests.yml | 13 +++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 tests/tests.yml diff --git a/rust-scroll_derive.spec b/rust-scroll_derive.spec index d00fe8b..c951df5 100644 --- a/rust-scroll_derive.spec +++ b/rust-scroll_derive.spec @@ -1,5 +1,5 @@ # Generated by rust2rpm -# scroll_derive(dev) -> scroll(opt) -> scroll_derive +# Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 0.9.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Macros 1.1 derive implementation for Pread and Pwrite traits from scroll crate License: MIT @@ -61,6 +61,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat Jul 21 2018 Igor Gnatenko - 0.9.4-3 +- Run tests in infrastructure + * Sat Jul 14 2018 Fedora Release Engineering - 0.9.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..73f6425 --- /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-scroll_derive