Rev 2050 | Rev 2089 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2050 | Rev 2051 | ||
---|---|---|---|
Line 1031... | Line 1031... | ||
1031 | bool fnd = false; |
1031 | bool fnd = false; |
1032 | 1032 | ||
1033 | for (test = tests; test->name != NULL; test++) { |
1033 | for (test = tests; test->name != NULL; test++) { |
1034 | if (strcmp(test->name, argv->buffer) == 0) { |
1034 | if (strcmp(test->name, argv->buffer) == 0) { |
1035 | fnd = true; |
1035 | fnd = true; |
- | 1036 | ||
- | 1037 | if (test->safe) |
|
1036 | run_bench(test, cnt); |
1038 | run_bench(test, cnt); |
- | 1039 | else |
|
- | 1040 | printf("Unsafe test\n"); |
|
- | 1041 | ||
1037 | break; |
1042 | break; |
1038 | } |
1043 | } |
1039 | } |
1044 | } |
1040 | 1045 | ||
1041 | if (!fnd) |
1046 | if (!fnd) |