OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <fcntl.h> | 5 #include <fcntl.h> |
6 #include <poll.h> | 6 #include <poll.h> |
7 #include <signal.h> | 7 #include <signal.h> |
8 #include <stddef.h> | |
9 #include <stdio.h> | 8 #include <stdio.h> |
10 #include <sys/resource.h> | 9 #include <sys/resource.h> |
11 #include <sys/time.h> | |
12 #include <sys/types.h> | 10 #include <sys/types.h> |
13 #include <sys/wait.h> | 11 #include <sys/wait.h> |
| 12 #include <sys/time.h> |
14 #include <time.h> | 13 #include <time.h> |
15 #include <unistd.h> | 14 #include <unistd.h> |
16 | 15 |
17 #include "base/debug/leak_annotations.h" | 16 #include "base/debug/leak_annotations.h" |
18 #include "base/files/file_util.h" | 17 #include "base/files/file_util.h" |
19 #include "base/posix/eintr_wrapper.h" | 18 #include "base/posix/eintr_wrapper.h" |
20 #include "base/third_party/valgrind/valgrind.h" | 19 #include "base/third_party/valgrind/valgrind.h" |
21 #include "build/build_config.h" | 20 #include "build/build_config.h" |
22 #include "sandbox/linux/tests/unit_tests.h" | 21 #include "sandbox/linux/tests/unit_tests.h" |
23 | 22 |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 fflush(stderr); | 352 fflush(stderr); |
354 _exit(kExitWithAssertionFailure); | 353 _exit(kExitWithAssertionFailure); |
355 } | 354 } |
356 | 355 |
357 void UnitTests::IgnoreThisTest() { | 356 void UnitTests::IgnoreThisTest() { |
358 fflush(stderr); | 357 fflush(stderr); |
359 _exit(kIgnoreThisTest); | 358 _exit(kIgnoreThisTest); |
360 } | 359 } |
361 | 360 |
362 } // namespace | 361 } // namespace |
OLD | NEW |