You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 07:40:33 UTC
svn commit: r1131849 - /incubator/mesos/trunk/src/tests/main.cpp
Author: benh
Date: Sun Jun 5 05:40:33 2011
New Revision: 1131849
URL: http://svn.apache.org/viewvc?rev=1131849&view=rev
Log:
Removed use of glog before InitGoogleLogging.
Modified:
incubator/mesos/trunk/src/tests/main.cpp
Modified: incubator/mesos/trunk/src/tests/main.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/main.cpp?rev=1131849&r1=1131848&r2=1131849&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/main.cpp (original)
+++ incubator/mesos/trunk/src/tests/main.cpp Sun Jun 5 05:40:33 2011
@@ -7,6 +7,7 @@
#include <iostream>
#include <string>
+#include "fatal.hpp"
#include "testing_utils.hpp"
using namespace nexus::internal::test;
@@ -16,9 +17,8 @@ int main(int argc, char **argv) {
// Get absolute path to Mesos home direcotry (really src right now)
char buf[4096];
if (realpath(dirname(argv[0]), buf) == 0)
- PLOG(FATAL) << "Failed to find location of alltests using realpath";
+ fatalerror("Failed to find location of alltests using realpath");
mesosHome = buf;
- LOG(INFO) << "Mesos home is " << mesosHome;
google::InitGoogleLogging("alltests");
testing::InitGoogleTest(&argc, argv);