Rev 14399 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14399 | Rev 16240 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | ## Use |
7 | ## Use |
8 | Launch the script from the directory validation |
8 | Launch the script from the directory validation |
9 | 9 | ||
10 | To use on one module write: |
10 | To use on one module write: |
11 | 11 | ||
12 | ./checkhtmlwims |
12 | ./checkhtmlwims $option $module_address |
13 | 13 | ||
- | 14 | with $option = 0 or 1 |
|
- | 15 | ||
14 |
|
16 | and $module_address the address of the module |
15 | from the directory `wims/public_html/modules` |
17 | from the directory `wims/public_html/modules` |
- | 18 | ||
- | 19 | This module address can be either one module (`E1/number/oefnumber.fr`), |
|
- | 20 | or a category of modules (`E1/number`), or a comma-separated list of zones (`U1,E5,Lang,devel`), |
|
- | 21 | or empty : in this case all "level"-zones (E1..U4) and Lang are treated. |
|
16 | 22 | ||
17 | **The results are in the directory "result".** |
23 | **The results are in the directory "result".** |
18 | 24 | ||
19 | ## Samples |
25 | ## Samples |
20 | 26 | ||
21 |
|
27 | Check (first page of) all exercices from the module `U1/analysis/oefderint.fr` without cleaning : |
22 | 28 | ||
23 | ./checkhtmlwims |
29 | ./checkhtmlwims 0 U1/analysis/oefderint.fr |
- | 30 | ||
- | 31 | Check all exercises of all modules in U1/analysis and then clean to erase uninteresting errors : |
|
- | 32 | ||
- | 33 | ./checkhtmlwims 1 U1/analysis |
|
24 | 34 | ||
25 |
|
35 | Check all modules of the zones E5,devel and Lang and clean results : |
26 | 36 | ||
- | 37 | ./checkhtmlwims 1 E5,devel,Lang |
|
- | 38 | ||
27 |
|
39 | Check all "level"-zones (E1..U4) and Lang, without cleaning : |
28 | 40 | ||
29 | ./checkhtmlwims |
41 | ./checkhtmlwims 0 |
- | 42 | ||
30 | 43 | ||
31 | For glossary (the result is in the file "tmp/html/log" |
44 | For glossary (the result is in the file "tmp/html/log" |
- | 45 | ||
32 | ./checkhtmlglossary 1 |
46 | ./checkhtmlglossary 1 |