[MDEV-6280] can't skip test with slash in its name Created: 2014-05-29  Updated: 2014-06-02  Due: 2014-06-28  Resolved: 2014-06-02

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.11
Fix Version/s: 10.0.12

Type: Bug Priority: Trivial
Reporter: Jakub Dorňák Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Attachments: File mariadb-skip-test-list.patch    

 Description   

Some of the tests from mysql-test have slash in their names (i. e. spider/bg.function). Such test can not be skipped with --skip-test-list, because line containing slash in the name of test is treated as "Syntax error".

I am providing patch, which solves this issue.



 Comments   
Comment by Sergei Golubchik [ 2014-05-31 ]

What did you do exactly to trigger this bug? I tried:

10.0/mysql-test $ ./mtr --suite spider/bg --skip-test spider/bg.function
Logging: ./mtr  --suite spider/bg --skip-test spider/bg.function
vardir: /usr/home/serg/Abk/mysql/10.0/mysql-test/var
Removing old var directory...
Creating var directory '/usr/home/serg/Abk/mysql/10.0/mysql-test/var'...
Checking supported features...
MariaDB Version 10.0.11-MariaDB-debug
 - SSL connections supported
 - binaries are debug compiled
Using suites: spider/bg
Collecting tests...
Installing system database...
==============================================================================
TEST                                      RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
spider/bg.function                       [ skipped ]
spider/bg.spider3_fixes                  [ pass ]    554
spider/bg.spider3_fixes_part             [ pass ]    532

Comment by Jakub Dorňák [ 2014-06-02 ]

This is one of many tests failing in Fedora rawhide (all architectures).
We use --skip-test-list:

perl ./mysql-test-run.pl --force --retry=0 --ssl \
    --skip-test-list=rh-skipped-tests.list \
    --suite-timeout=720 --testcase-timeout=30 \
    --mysqld=--binlog-format=mixed --force-restart \
    --shutdown-timeout=60 --max-test-fail=0

Comment by Sergei Golubchik [ 2014-06-02 ]

Ah, skip-test-list, not skip-test. Sorry. You're right, of course. Fixed.

Generated at Thu Feb 08 07:10:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.