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

Unified Diff: chrome_elf/run_all_unittests.cc

Issue 2760853002: Remove use of PRODUCT_STRING_PATH in chrome_elf. (Closed)
Patch Set: now Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_elf/chrome_elf_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/run_all_unittests.cc
diff --git a/chrome_elf/run_all_unittests.cc b/chrome_elf/run_all_unittests.cc
index 375ddc7447b4f639dab5eadeb2f7120cfc3e62b2..0f2c930d84af4a2bb166e611215859031987ebd0 100644
--- a/chrome_elf/run_all_unittests.cc
+++ b/chrome_elf/run_all_unittests.cc
@@ -7,6 +7,7 @@
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#include "build/build_config.h"
+#include "chrome/install_static/test/scoped_install_details.h"
int main(int argc, char** argv) {
// Ensure that the CommandLine instance honors the command line passed in
@@ -15,6 +16,9 @@ int main(int argc, char** argv) {
// depend on user32 directly or indirectly (For the curious shell32 depends
// on user32)
base::CommandLine::InitUsingArgvForTesting(argc, argv);
+
+ install_static::ScopedInstallDetails scoped_install_details;
+
base::TestSuite test_suite(argc, argv);
int ret = base::LaunchUnitTests(
argc, argv,
« no previous file with comments | « chrome_elf/chrome_elf_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698