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

Side by Side Diff: syzygy/pe/unittest_util.cc

Issue 2983783002: Run the integration tests against the Clang instrumented DLL. (Closed)
Patch Set: Address Chris comment. Created 3 years, 3 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/pe/unittest_util.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 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 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,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 const wchar_t testing::kTestDllName[] = L"test_dll.dll"; 152 const wchar_t testing::kTestDllName[] = L"test_dll.dll";
153 const wchar_t testing::kTestDllPdbName[] = L"test_dll.dll.pdb"; 153 const wchar_t testing::kTestDllPdbName[] = L"test_dll.dll.pdb";
154 154
155 const wchar_t testing::kTestDllName64[] = L"test_dll_x64.dll"; 155 const wchar_t testing::kTestDllName64[] = L"test_dll_x64.dll";
156 const wchar_t testing::kTestDllPdbName64[] = L"test_dll_x64.dll.pdb"; 156 const wchar_t testing::kTestDllPdbName64[] = L"test_dll_x64.dll.pdb";
157 157
158 const wchar_t testing::kIntegrationTestsDllName[] = 158 const wchar_t testing::kIntegrationTestsDllName[] =
159 L"integration_tests_dll.dll"; 159 L"integration_tests_dll.dll";
160 const wchar_t testing::kIntegrationTestsDllPdbName[] = 160 const wchar_t testing::kIntegrationTestsDllPdbName[] =
161 L"integration_tests_dll.dll.pdb"; 161 L"integration_tests_dll.dll.pdb";
162 const wchar_t testing::kIntegrationTestsClangDllName[] =
163 L"integration_tests_clang_dll.dll";
162 164
163 const wchar_t kNoExportsDllName[] = L"no_exports_dll.dll"; 165 const wchar_t kNoExportsDllName[] = L"no_exports_dll.dll";
164 const wchar_t kNoExportsDllPdbName[] = L"no_exports_dll.dll.pdb"; 166 const wchar_t kNoExportsDllPdbName[] = L"no_exports_dll.dll.pdb";
165 167
166 const wchar_t testing::kTestDllCoffObjName[] = L"test_dll.coff_obj"; 168 const wchar_t testing::kTestDllCoffObjName[] = L"test_dll.coff_obj";
167 const wchar_t testing::kTestDllLtcgObjName[] = L"test_dll.ltcg_obj"; 169 const wchar_t testing::kTestDllLtcgObjName[] = L"test_dll.ltcg_obj";
168 const wchar_t testing::kTestDllCoffObjPdbName[] = L"test_dll.coff_obj.pdb"; 170 const wchar_t testing::kTestDllCoffObjPdbName[] = L"test_dll.coff_obj.pdb";
169 const wchar_t testing::kTestDllLtcgObjPdbName[] = L"test_dll.ltcg_obj.pdb"; 171 const wchar_t testing::kTestDllLtcgObjPdbName[] = L"test_dll.ltcg_obj.pdb";
170 172
171 const wchar_t testing::kCodeView2Name[] = 173 const wchar_t testing::kCodeView2Name[] =
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 396
395 void CoffUnitTest::TestRoundTrip() { 397 void CoffUnitTest::TestRoundTrip() {
396 // Rewrite file and parse new symbol table. 398 // Rewrite file and parse new symbol table.
397 block_graph::orderers::OriginalOrderer orig_orderer; 399 block_graph::orderers::OriginalOrderer orig_orderer;
398 ASSERT_NO_FATAL_FAILURE(LayoutAndWriteNew(&orig_orderer)); 400 ASSERT_NO_FATAL_FAILURE(LayoutAndWriteNew(&orig_orderer));
399 pe::CoffFile image_file; 401 pe::CoffFile image_file;
400 ASSERT_TRUE(image_file.Init(new_test_dll_obj_path_)); 402 ASSERT_TRUE(image_file.Init(new_test_dll_obj_path_));
401 } 403 }
402 404
403 } // namespace testing 405 } // namespace testing
OLDNEW
« no previous file with comments | « syzygy/pe/unittest_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698