File: README

package info (click to toggle)
mariadb 1%3A11.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772,520 kB
  • sloc: ansic: 2,414,714; cpp: 1,791,394; asm: 381,336; perl: 62,905; sh: 49,647; pascal: 40,897; java: 39,363; python: 20,791; yacc: 20,432; sql: 17,907; xml: 12,344; ruby: 8,544; cs: 6,542; makefile: 6,145; ada: 1,879; lex: 1,193; javascript: 996; objc: 80; tcl: 73; awk: 46; php: 22
file content (43 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
1. should be run from myisam/ftbench/
2. myisam/ftdefs.h should NOT be locked (bk get, not bk edit!)
3. there should be ./data/ subdir with test collections, files:
     test1.d
     test1.q
     test1.r
     test2.d
     test2.q
     test2.r
   where test1, test2, etc - are arbitrary test names

  *.[dq] files contain documents/queries one item per line.

   *.r files have the structure:
   1 16 .....blablabla
   1 09 .....blablabla
   2 116 .....blablabla
   ...

  that is /^\d+\s+\d+/
  and are sorted by the first number (not necessarily by the second)
   
4. there should be ./t/ subdir with test directories

  ./t
  ./t/BEST/
  ./t/testdir1/
  ./t/testdir2/
  ...

  there *must* be ./t/BEST/ subdir or a symlink to one of other dirs in ./t
  all other names (besides BEST) can be arbitrary

  all test results are compared with BEST results.
  
  test directories may contain ftdefs.h, my.cnf, ft_mode
  (the last one is used as in ... MATCH ... AGAINST ("..." $ft_mode) ...)
  NOTE: all *.out files in test directories will NOT be overwritten!
  delete them to re-test

5. run ./ft-test-run.sh
6. go make some coffee