Skip to content

Commit

Permalink
dev-db/percona-server: Correctly skip innodb_stress test suite wrt bu…
Browse files Browse the repository at this point in the history
…g 561024

Package-Manager: portage-2.2.20.1
  • Loading branch information
Brian Evans committed Sep 21, 2015
1 parent 5f841b2 commit 0dd0a35
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions dev-db/percona-server/percona-server-5.6.26.74.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -124,23 +118,17 @@ 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}"

# Set file limits higher so tests run
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"
Expand Down

0 comments on commit 0dd0a35

Please sign in to comment.