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

Unified Diff: net/url_request/url_request_unittest.h

Issue 11224: Add url_request_unittest to mac build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « net/net.xcodeproj/project.pbxproj ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.h
===================================================================
--- net/url_request/url_request_unittest.h (revision 5598)
+++ net/url_request/url_request_unittest.h (working copy)
@@ -295,8 +295,9 @@
ASSERT_TRUE(
base::LaunchApp(command_line, false, true, &process_handle_)) <<
"Failed to launch " << command_line;
-#elif defined(OS_LINUX)
- bool tlslite_installed = !access("/usr/bin/tls.py", X_OK);
+#elif defined(OS_POSIX)
+ bool tlslite_installed = !access("/usr/bin/tls.py", X_OK) ||
+ !access("/usr/local/bin/tls.py", X_OK);
ASSERT_TRUE(tlslite_installed) << "tlslite not installed? Please run 'python setup.py install' in third_party/tlslite.";
std::vector<std::string> command_line;
« no previous file with comments | « net/net.xcodeproj/project.pbxproj ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698