From 2a53f5e5f5692a90b3d7d6882bb96b466c240400 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: May 05 2019 20:21:11 +0000 Subject: Run tests in infrastructure Signed-off-by: Igor Gnatenko --- diff --git a/rust-gstreamer-audio-sys.spec b/rust-gstreamer-audio-sys.spec index f67a15b..d217fc2 100644 --- a/rust-gstreamer-audio-sys.spec +++ b/rust-gstreamer-audio-sys.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm -%bcond_without check +# Generated by rust2rpm-9-1.fc31 +%bcond_with check %global debug_package %{nil} %global crate gstreamer-audio-sys @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 0.7.0 Release: 1%{?dist} -Summary: GStreamer (Audio library) FFI bindings for Rust +Summary: FFI bindings to libgstaudio-1.0 # Upstream license specification: MIT License: MIT 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..94430cf --- /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-gstreamer-audio-sys