Skip to content

Commit 60765d8

Browse files
Fix TEST_DOCS template: --suite takes directory not file
Passing a .test filepath to --suite causes MTR to error with "Could not find ... in scanned directories". Test name must be a positional argument, suite must be the directory. AI=CLAUDE Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e2a52ce commit 60765d8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

villagesql/dev_server/TEST_DOCS.md.template

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ cd mysql-test
2121
--veb-source-dir=/path/to/your/extension/build \
2222
--parallel=auto
2323

24-
# Run a specific test
25-
./mysql-test-run.pl --suite=/path/to/your/extension/tests/my_test.test \
26-
--veb-source-dir=/path/to/your/extension/build
24+
# Run a specific test (test name as positional argument)
25+
./mysql-test-run.pl --suite=/path/to/your/extension/tests \
26+
--veb-source-dir=/path/to/your/extension/build \
27+
my_test
2728

2829
# Record test results (for creating .result files)
2930
./mysql-test-run.pl --suite=/path/to/your/extension/tests \

0 commit comments

Comments
 (0)