Subversion Repositories Kolibri OS

Rev

Rev 9325 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9325 Rev 9337
Line 14... Line 14...
14
 
14
 
15
    You should have received a copy of the GNU General Public License
15
    You should have received a copy of the GNU General Public License
16
    along with this program.  If not, see .
16
    along with this program.  If not, see .
Line 17... Line -...
17
*/
-
 
18
 
-
 
19
#include 
17
*/
20
#include 
18
 
21
#include 
19
#include 
22
#include 
20
#include 
23
#include 
-
 
24
#include 
-
 
25
#include 
-
 
-
 
21
#include 
26
#include 
22
#include 
27
#include 
23
 
28
#include "shell.h"
24
#include "shell.h"
Line 29... Line 25...
29
#include "umka.h"
25
#include "umka.h"
Line 51... Line 47...
51
    argc -= 1;
47
    argc -= 1;
52
    argv += 1;
48
    argv += 1;
Line 53... Line 49...
53
 
49
 
54
    while (argc) {
50
    while (argc) {
55
        if (!strcmp(argv[0], "-c")) {
-
 
56
            coverage = 1;
51
        if (!strcmp(argv[0], "-c")) {
57
            argc -= 1;
52
            argc -= 1;
58
            argv += 1;
53
            argv += 1;
59
            continue;
54
            continue;
60
        } else if (!strcmp(argv[0], "-i") && argc > 1) {
55
        } else if (!strcmp(argv[0], "-i") && argc > 1) {
Line 84... Line 79...
84
            puts(usage);
79
            puts(usage);
85
            exit(1);
80
            exit(1);
86
        }
81
        }
87
    }
82
    }
Line 88... Line -...
88
 
-
 
89
    if (coverage)
-
 
90
        trace_begin();
-
 
91
 
83
 
92
    run_test(fin, fout, 1);
-
 
93
 
-
 
94
    if (coverage)
-
 
Line 95... Line 84...
95
        trace_end();
84
    run_test(fin, fout);
96
 
85