summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2018-10-12 11:50:44 +0200
committerPavel Raiskup <praiskup@redhat.com>2018-10-12 11:50:44 +0200
commite094192032353193ec4c7bc21e42cb95d43f8af1 (patch)
tree71cb87f63bdace30b53b98a76e3fe6565bfacf8b
parent6ff8c9aa31faf9b10af156e5827f6dc76cf01712 (diff)
downloadscl-autotools-e094192032353193ec4c7bc21e42cb95d43f8af1.tar.gz
scl-autotools-e094192032353193ec4c7bc21e42cb95d43f8af1.tar.xz
scl-autotools-e094192032353193ec4c7bc21e42cb95d43f8af1.zip
autotools-latest-automake: enable scl for testsuite
-rw-r--r--repos/autotools/autotools-latest/automake/automake.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/repos/autotools/autotools-latest/automake/automake.spec b/repos/autotools/autotools-latest/automake/automake.spec
index 45351a6..409968b 100644
--- a/repos/autotools/autotools-latest/automake/automake.spec
+++ b/repos/autotools/autotools-latest/automake/automake.spec
@@ -170,8 +170,10 @@ rmdir %{buildroot}/%{_pkgdocdir}
%check
# %%global TESTS_FLAGS t/preproc-errmsg t/preproc-basics
%if %{with check}
+%{?scl_enable}
make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \
|| ( cat ./test-suite.log && false )
+%{?scl_disable}
%endif
%post