OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #include "src/shared/test_case.h" | 5 #include "src/shared/test_case.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include "src/shared/flags.h" | 10 #include "src/shared/flags.h" |
11 #include "src/shared/fletch.h" | 11 #include "src/shared/fletch.h" |
(...skipping 23 matching lines...) Expand all Loading... |
35 if (filter != NULL) { | 35 if (filter != NULL) { |
36 run = (strcmp(filter, test_case->name()) == 0); | 36 run = (strcmp(filter, test_case->name()) == 0); |
37 if (run) printf("Running %s\n", test_case->name()); | 37 if (run) printf("Running %s\n", test_case->name()); |
38 } | 38 } |
39 if (run) test_case->Run(); | 39 if (run) test_case->Run(); |
40 test_case = test_case->next_; | 40 test_case = test_case->next_; |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
44 } // namespace fletch | 44 } // namespace fletch |
OLD | NEW |