Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: syzygy/integration_tests/integration_tests_dll.cc

Issue 2972893002: Split the integration test cases into asan and non asan. (Closed)
Patch Set: Split the integration test cases into asan and non asan. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « syzygy/integration_tests/integration_tests_dll.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 Google Inc. All Rights Reserved. 1 // Copyright 2013 Google Inc. All Rights Reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and 12 // See the License for the specific language governing permissions and
13 // limitations under the License. 13 // limitations under the License.
14 14
15 #include "syzygy/integration_tests/integration_tests_dll.h" 15 #include "syzygy/integration_tests/integration_tests_dll.h"
16 16
17 #include <windows.h> // NOLINT 17 #include <windows.h> // NOLINT
18 #include <stdint.h> 18 #include <stdint.h>
19 19
20 #include "syzygy/integration_tests/asan_check_tests.h" 20 #include "syzygy/integration_tests/asan_check_tests.h"
21 #include "syzygy/integration_tests/asan_interceptors_tests.h" 21 #include "syzygy/integration_tests/asan_interceptors_tests.h"
22 #include "syzygy/integration_tests/asan_page_protection_tests.h" 22 #include "syzygy/integration_tests/asan_page_protection_tests.h"
23 #ifndef __clang__
23 #include "syzygy/integration_tests/bb_entry_tests.h" 24 #include "syzygy/integration_tests/bb_entry_tests.h"
24 #include "syzygy/integration_tests/behavior_tests.h" 25 #include "syzygy/integration_tests/behavior_tests.h"
25 #include "syzygy/integration_tests/coverage_tests.h" 26 #include "syzygy/integration_tests/coverage_tests.h"
27 #include "syzygy/integration_tests/profile_tests.h"
28 #endif // __clang__
26 #include "syzygy/integration_tests/deferred_free_tests.h" 29 #include "syzygy/integration_tests/deferred_free_tests.h"
27 #include "syzygy/integration_tests/profile_tests.h"
28 30
29 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) { 31 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) {
30 return TRUE; 32 return TRUE;
31 } 33 }
32 34
33 unsigned int CALLBACK EndToEndTest(testing::EndToEndTestId test) { 35 unsigned int CALLBACK EndToEndTest(testing::EndToEndTestId test) {
34 switch (test) { 36 switch (test) {
35 #define DECLARE_END_TO_END_SWITCH_TABLE(enum_name, function_to_call) \ 37 #define DECLARE_END_TO_END_SWITCH_TABLE(enum_name, function_to_call) \
36 case testing::enum_name: { \ 38 case testing::enum_name: { \
37 return function_to_call(); \ 39 return function_to_call(); \
38 } 40 }
39 END_TO_END_TEST_ID_TABLE(DECLARE_END_TO_END_SWITCH_TABLE) 41 END_TO_END_TEST_ID_TABLE(DECLARE_END_TO_END_SWITCH_TABLE)
40 #undef DECLARE_END_TO_END_SWITCH_TABLE 42 #undef DECLARE_END_TO_END_SWITCH_TABLE
41 default: 43 default:
42 return 0; 44 return 0;
43 } 45 }
44 } 46 }
OLDNEW
« no previous file with comments | « syzygy/integration_tests/integration_tests_dll.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698