Don't run funcs_1/myisam_views test case under valgrind, unless

the --big-test flag is supplied. Test is too resource intensive
under normal valgrind runs (takes more than 30min on powerful
hardware).

mysql-test/include/no_valgrind_without_big.inc:
  Add MTR prerequisite file by Matthias Leich.
mysql-test/suite/funcs_1/t/myisam_views.test:
  Test is too resource intensive under "Valgrind".
This commit is contained in:
Davi Arnaut 2009-06-09 11:36:14 -03:00
parent 9d8c191e9c
commit e66c574df9
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# include/no_valgrind_without_big.inc
#
# If we are running with Valgrind ($VALGRIND_TEST <> 0) than the resource
# consumption (storage space needed, runtime ...) will be extreme.
# Therefore we require that the option "--big-test" is also set.
#
if (`SELECT $VALGRIND_TEST <> 0 AND '$BIG_TEST' = ''`)
{
--skip Need "--big-test" when running with Valgrind
}

View File

@ -1,5 +1,7 @@
#### suite/funcs_1/t/myisam_views.test
--source include/no_valgrind_without_big.inc
# MyISAM tables should be used
#
# Set $engine_type