diff options
author | unknown <msvensson@neptunus.(none)> | 2006-11-17 11:01:09 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-11-17 11:01:09 +0100 |
commit | 060c768c2b09634b14d4dc4f22f6b32a8c2f0ed8 (patch) | |
tree | bfcb9189f9cf98d15270768fc510a7c73fa8452f /mysql-test/lib | |
parent | f142723e0e23be26275bdf0921cc3bc2817776d1 (diff) | |
download | mariadb-git-060c768c2b09634b14d4dc4f22f6b32a8c2f0ed8.tar.gz |
Bug#24274 option "--big-test" of mysql-test-run.pl does not work anymore
- Set environment variable BIG_TEST when using --big-test
- Skip comment lines when looking for features a test case supports.
mysql-test/lib/mtr_cases.pl:
Skip all lines that start with # when looking for features required by the test case
mysql-test/mysql-test-run.pl:
Set environment variable BIG_TEST if option --big-test passed.
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_cases.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_cases.pl b/mysql-test/lib/mtr_cases.pl index d270d72d526..283e728fdaf 100644 --- a/mysql-test/lib/mtr_cases.pl +++ b/mysql-test/lib/mtr_cases.pl @@ -593,6 +593,9 @@ sub mtr_options_from_test_file($$) { while ( my $line= <$F> ) { + # Skip line if it start's with # + next if ( $line =~ /^#/ ); + # Match this line against tag in "tags" array foreach my $tag (@tags) { |