Skip to content

Commit

Permalink
*: Set custom verbose flag to true (pingcap#1956)
Browse files Browse the repository at this point in the history
* *: set custom verbose flag to true

* *: update .gitignore
  • Loading branch information
zimulala authored Nov 5, 2016
1 parent 40ad2ba commit 1c6c145
Show file tree
Hide file tree
Showing 43 changed files with 45 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ bin
coverage.out
.idea/
*.iml
*.swp
*.log
tags
temp_parser_file
y.output
1 change: 1 addition & 0 deletions ast/flag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions ddl/ddl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions distsql/distsql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions distsql/xeval/eval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions domain/domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions evaluator/evaluator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import (
var _ = Suite(&testEvaluatorSuite{})

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions executor/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions infoschema/infoschema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions inspectkv/inspectkv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions kv/mem_buffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions meta/autoid/autoid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions meta/meta_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions model/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions mysql/time_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions perfschema/perfschema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions plan/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
var _ = Suite(&testPlanSuite{})

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions privilege/privileges/privileges_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions sessionctx/binloginfo/binloginfo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions sessionctx/db/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions sessionctx/domainctx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions sessionctx/variable/sysvar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions store/localstore/boltdb/boltdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions store/localstore/goleveldb/goleveldb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions store/localstore/xapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions store/tikv/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions structure/structure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
)

func TestTxStructure(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions table/column_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
var _ = Suite(&testColumnSuite{})

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions table/tables/tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions terror/terror_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions tidb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var store = flag.String("store", "memory", "registered store name, [memory, gole
func TestT(t *testing.T) {
logLevel := os.Getenv("log_level")
log.SetLevelByString(logLevel)
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/charset/charset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/codec/codec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/distinct/distinct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestT(t *testing.T) {
check.CustomVerboseFlag = true
check.TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/format/format_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/mock/mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/prefix_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/printer/printer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/stringutil/string_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down
1 change: 1 addition & 0 deletions util/testutil/testutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestT(t *testing.T) {
CustomVerboseFlag = true
TestingT(t)
}

Expand Down

0 comments on commit 1c6c145

Please sign in to comment.