Skip to content

Commit

Permalink
Use XLOG_FILENAME instead of __FILE__ to support different build type…
Browse files Browse the repository at this point in the history
…s in HTTPServerTest

Reviewed By: hanidamlaj, meyering

Differential Revision: D49427570

fbshipit-source-id: b2a8920de37427dd8d7cbf244b4cb2e6b924a150
  • Loading branch information
jbeshay authored and facebook-github-bot committed Oct 16, 2023
1 parent 018b10b commit d4b2691
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proxygen/httpserver/tests/HTTPServerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/AsyncServerSocket.h>
#include <folly/io/async/EventBaseManager.h>
#include <folly/logging/xlog.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
#include <folly/ssl/OpenSSLCertUtils.h>
Expand All @@ -36,7 +37,7 @@ using namespace CurlService;

namespace {

const std::string kTestDir = getContainingDirectory(__FILE__).str();
const std::string kTestDir = getContainingDirectory(XLOG_FILENAME).str();

}

Expand Down

0 comments on commit d4b2691

Please sign in to comment.