Rev 13457 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10182 | bpr | 1 | Use in the wims directory: |
2 | |||
10184 | bpr | 3 | Launch the command |
10182 | bpr | 4 | wimstest/test.sh |
5 | It creates files in the directory wimstest/tmp that |
||
6 | should be compared with the results (which are in the svn) |
||
7 | in wimstest/ |
||
8 | Check if there is a behaviour change (do not change the svn |
||
9 | file in the directory wimstest/dirres, if you don't |
||
10 | understand the change). If you have added a |
||
11 | test and that it is OK, change wimstest/dirres in the svn. |
||
12 | |||
13 | If you want to test only a special command. |
||
14 | There is three types of tests. |
||
15 | |||
16 | -- For tests in wimstest/dirtest |
||
13457 | obado | 17 | src/wims test ~/wims/wimstest/dirtest [file] vartest |
10182 | bpr | 18 | |
19 | replace [file] by the name of the file in wimstest/dirtest |
||
20 | vartest is the name of the variable to examine (is defined in the file) |
||
21 | |||
22 | for example |
||
13457 | obado | 23 | src/wims test ~/wims/wimstest/dirtest replace vartest |
10182 | bpr | 24 | |
10196 | bpr | 25 | [for the moment, it is incompatible with the compilation with gcov |
26 | because of warning messages] |
||
10182 | bpr | 27 | -- Tests in public_html/modules/moduletest/src |
28 | |||
29 | wimstest/tag.pl --file=[file] --out=[out] |
||
30 | in the script [out]=wimstest/tmp |
||
31 | |||
32 | -- Other tests (calling scripts in dirsrc) |
||
33 | for example : |
||
34 | wimstest/dirsrc/maxima.sh |
||
35 | |||
36 | |||
37 | -- There is other tests for OEF modules. |
||
38 | |||
10184 | bpr | 39 | wimstest/OEFmodule.sh [list_modules] |
10182 | bpr | 40 | |
10184 | bpr | 41 | without argument, all the OEF modules are check !! very long and not |
42 | yet useful. |
||
43 | |||
44 | -- To examine the files in src: |
||
45 | If you have compile with option --gcov |
||
13457 | obado | 46 | launch wimstest/gcov.sh |
10182 | bpr | 47 | and open gcovout/index.html in a browser. |
48 | |||
14561 | bpr | 49 | -- To check the if/endif |
50 | wimstest/check/checkifendif name_directory |