dev-db/percona-server: Correctly skip innodb_stress test suite wrt bug 561024
authorBrian Evans <grknight@gentoo.org>
Mon, 21 Sep 2015 16:55:48 +0000 (12:55 -0400)
committerBrian Evans <grknight@gentoo.org>
Mon, 21 Sep 2015 16:55:48 +0000 (12:55 -0400)
Package-Manager: portage-2.2.20.1

dev-db/percona-server/percona-server-5.6.26.74.0.ebuild

index 61eb65e2ea6b8a04816cb3e7c1125d4428afb0d9..263f7f9aa12becf626d23ffc62bb718152ad368d 100644 (file)
@@ -104,12 +104,6 @@ multilib_src_test() {
                # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
                # Called with bad parameters should be reported upstream
                #
-               # innodb_stress.innodb_stress
-               # innodb_stress.innodb_stress_blob innodb_stress.innodb_stress_blob_nocompress
-               # innodb_stress.innodb_stress_crash innodb_stress.innodb_stress_crash_blob
-               # innodb_stress.innodb_stress_crash_blob_nocompress innodb_stress.innodb_stress_crash_nocompress
-               # innodb_stress.innodb_stress_nocompress
-               # Dependent on python2 being the system python
 
                for t in main.mysql_client_test \
                        binlog.binlog_statement_insert_delayed main.information_schema \
@@ -124,14 +118,6 @@ multilib_src_test() {
                                mysql-multilib_disable_test  "$t" "False positives in Gentoo"
                done
 
-               for t in innodb_stress.innodb_stress \
-                       innodb_stress.innodb_stress_blob innodb_stress.innodb_stress_blob_nocompress \
-                       innodb_stress.innodb_stress_crash innodb_stress.innodb_stress_crash_blob \
-                       innodb_stress.innodb_stress_crash_blob_nocompress innodb_stress.innodb_stress_crash_nocompress \
-                       innodb_stress.innodb_stress_nocompress ; do
-                               mysql-multilib_disable_test "$t" "False positives due to python exception syntax"
-               done
-
                # Run mysql tests
                pushd "${TESTDIR}"
 
@@ -139,8 +125,10 @@ multilib_src_test() {
                ulimit -n 3000
 
                # run mysql-test tests
+               # We skip the innodb_stress suite because it depends on python2 being system python
                perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
-                       --testcase-timeout=30 --reorder
+                       --testcase-timeout=30 --reorder \
+                       --skip-test=innodb_stress
                retstatus_tests=$?
                [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
                has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"