remove compile options in test script
This commit is contained in:
parent
ec7fdb87ff
commit
6f2f18f0aa
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||||
|
#pragma GCC diagnostic ignored "-Werror=unused-function"
|
||||||
|
|
||||||
typedef struct ResultObj {
|
typedef struct ResultObj {
|
||||||
int32_t numOfResult;
|
int32_t numOfResult;
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
#include "taos.h"
|
#include "taos.h"
|
||||||
#include "qHistogram.h"
|
#include "qHistogram.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Werror=unused-function"
|
||||||
namespace {
|
namespace {
|
||||||
void doHistogramAddTest() {
|
void doHistogramAddTest() {
|
||||||
SHistogramInfo* pHisto = NULL;
|
SHistogramInfo* pHisto = NULL;
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
#include "qAggMain.h"
|
#include "qAggMain.h"
|
||||||
#include "tcompare.h"
|
#include "tcompare.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Werror=unused-function"
|
||||||
|
|
||||||
TEST(testCase, patternMatchTest) {
|
TEST(testCase, patternMatchTest) {
|
||||||
SPatternCompareInfo info = PATTERN_COMPARE_INFO_INITIALIZER;
|
SPatternCompareInfo info = PATTERN_COMPARE_INFO_INITIALIZER;
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
#include "qPercentile.h"
|
#include "qPercentile.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Werror=unused-function"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
tMemBucket *createBigIntDataBucket(int32_t start, int32_t end) {
|
tMemBucket *createBigIntDataBucket(int32_t start, int32_t end) {
|
||||||
tMemBucket *pBucket = tMemBucketCreate(sizeof(int64_t), TSDB_DATA_TYPE_BIGINT, start, end);
|
tMemBucket *pBucket = tMemBucketCreate(sizeof(int64_t), TSDB_DATA_TYPE_BIGINT, start, end);
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
#include "taos.h"
|
#include "taos.h"
|
||||||
#include "tsdb.h"
|
#include "tsdb.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Werror=unused-function"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
// simple test
|
// simple test
|
||||||
void simpleTest() {
|
void simpleTest() {
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
#include "ttoken.h"
|
#include "ttoken.h"
|
||||||
#include "tutil.h"
|
#include "tutil.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Werror=unused-function"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||||
|
#pragma GCC diagnostic ignored "-Werror=unused-function"
|
||||||
namespace {
|
namespace {
|
||||||
int32_t testValidateName(char* name) {
|
int32_t testValidateName(char* name) {
|
||||||
SStrToken token = {0};
|
SStrToken token = {0};
|
||||||
|
|
Loading…
Reference in New Issue