[mariadb-galera] Added variable for turn off skipping some tests

Honza Horak hhorak at fedoraproject.org
Wed Mar 11 22:54:54 UTC 2015


commit cfdcc9367844b2507724c4039456332d81fd5226
Author: Honza Horak <hhorak at redhat.com>
Date:   Wed Mar 4 22:07:10 2015 +0100

    Added variable for turn off skipping some tests
    
    Conflicts:
    	mariadb-galera.spec

 mariadb-galera.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/mariadb-galera.spec b/mariadb-galera.spec
index ef2e0e2..81e43fe 100644
--- a/mariadb-galera.spec
+++ b/mariadb-galera.spec
@@ -7,6 +7,9 @@
 # --nocheck is not possible (e.g. in koji build)
 %{!?runselftest:%global runselftest 1}
 
+# Set this to 1 to see which tests fail
+%global check_testsuite 0
+
 # In f20+ use unversioned docdirs, otherwise the old versioned one
 %global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
 %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
@@ -862,7 +865,9 @@ export MTR_BUILD_THREAD=%{__isa_bits}
 (
   cd mysql-test
   perl ./mysql-test-run.pl --force --retry=0 --ssl \
+%if ! %{check_testsuite}
     --skip-test-list=rh-skipped-tests.list \
+%endif
     --suite-timeout=720 --testcase-timeout=30 \
     --mysqld=--binlog-format=mixed --force-restart \
     --shutdown-timeout=60 --max-test-fail=0
@@ -1186,6 +1191,7 @@ fi
 - Fix openssl_1 test
 - Do not create test database by default
   Related: #1194611
+- Added variable for turn off skipping some tests
 
 * Sun Jan 25 2015 Honza Horak <hhorak at redhat.com> - 1:10.0.15-3
 - Do not create log file in post script


More information about the scm-commits mailing list