hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huor <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: A temporary pull for test framework r...
Date Tue, 17 May 2016 14:56:30 GMT
Github user huor commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/660#discussion_r63537681
  
    --- Diff: src/test/feature/query/test-prepare.cpp ---
    @@ -0,0 +1,75 @@
    +#include <pwd.h>
    +#include <sys/types.h>
    +#include <unistd.h>
    +#include <vector>
    +#include <stdio.h>
    +#include <stdlib.h>
    +#include <errno.h>
    +#include <iostream>
    +
    +#include "lib/command.h"
    +#include "lib/common.h"
    +#include "lib/data-gen.h"
    +#include "lib/hawq-config.h"
    +#include "lib/sql-util.h"
    +
    +#include "gtest/gtest.h"
    +
    +class TestQueryPrepare : public ::testing::Test {
    + public:
    +  TestQueryPrepare() {}
    +  ~TestQueryPrepare() {}
    +};
    +
    +
    +TEST_F(TestQueryPrepare, TestPrepareUniqueness) {
    +  SQLUtility util;
    +  util.execSQLFile("query/sql/prepare-uniqueness.sql",
    --- End diff --
    
    If we run feature-test not in $HAWQ_SRC/src/test/feature, then "query/sql/prepare-uniqueness.sql"
might be not found.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message