Repository: incubator-hawq Updated Branches: refs/heads/master 5323b5b90 -> 87d37f08e
HAWQ-891. Fix functiontest build error Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/87d37f08 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/87d37f08 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/87d37f08 Branch: refs/heads/master Commit: 87d37f08e9278f9afd555fe501bd7f7ffafea8e9 Parents: 5323b5b Author: Wen Lin <[email protected]> Authored: Wed Jul 6 11:42:49 2016 +0800 Committer: Wen Lin <[email protected]> Committed: Wed Jul 6 11:42:49 2016 +0800 ---------------------------------------------------------------------- depends/libyarn/test/function/TestLibYarnClientC.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/87d37f08/depends/libyarn/test/function/TestLibYarnClientC.cpp ---------------------------------------------------------------------- diff --git a/depends/libyarn/test/function/TestLibYarnClientC.cpp b/depends/libyarn/test/function/TestLibYarnClientC.cpp index 2ec9743..c219bda 100644 --- a/depends/libyarn/test/function/TestLibYarnClientC.cpp +++ b/depends/libyarn/test/function/TestLibYarnClientC.cpp @@ -18,9 +18,7 @@ */ #include "gtest/gtest.h" -#include "libyarn/LibYarnClientC.h" - -extern "C" { +#include "libyarnclient/LibYarnClientC.h" class TestLibYarnClientC: public ::testing::Test { public: @@ -136,4 +134,3 @@ TEST_F(TestLibYarnClientC,TestLibYarn){ result = finishJob(client, jobId, APPLICATION_SUCCEEDED); EXPECT_EQ(result, FUNCTION_SUCCEEDED); } -}
