Commit Graph

152 Commits

Author SHA1 Message Date
918137a7a4 main: add make coverage_server build option (#11844) 2019-08-26 16:05:43 +08:00
554594b0bb build: use make testSuite to ensure all testSuites enabled (#11627) 2019-08-08 15:23:28 +08:00
tp
ad404bb645 *: avoid tidb-server -h output test flags (#11209) 2019-07-12 15:19:57 +08:00
b77b534ab0 Makefile: add a 'make ddltest' target to generate ddltest binary (#10542) 2019-05-20 19:00:20 +08:00
f100cddbf7 cmd: move ddltest from tidb-test (#9052) 2019-05-16 10:23:39 +08:00
b864fac504 rm travis.yml && speed it up (#10208) 2019-04-22 16:25:27 +08:00
27a56180bd *: replace gofail with the new failpoint implementation (#10184) 2019-04-22 13:30:14 +08:00
8a968593cf Makefile: update gometalinter to v3 (#10175) 2019-04-17 22:20:05 +08:00
d6490c1cab test: open coverpkg for coverrage, speed up the test, calculate more folder. (#9725) 2019-03-25 16:36:14 +08:00
988ffd070b test: fix go vet and run go vet regularly (#9712) 2019-03-18 15:39:37 +08:00
cb7a624434 build:add codecov.yml (#9618) 2019-03-08 23:28:19 +08:00
b00c2073bf build:fix git describe (#9611) 2019-03-08 11:09:30 +08:00
76e1e58511 build: add check-static in test (#9572) 2019-03-07 15:56:15 +08:00
89532cd9dd *: update errcheck (#9048) 2019-01-14 19:17:23 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
9b02455874 Makefile: build gofail to tools/bin (#8952) 2019-01-07 19:20:08 +08:00
6a9ad3fe25 travis: enable code coverage test using codecov (#8910) 2019-01-03 23:08:06 +08:00
3040788655 *: make errcheck work again (#8795) 2018-12-25 17:16:52 +08:00
0021af671f *: remove retool from Makefile (#8769) 2018-12-24 20:28:45 +08:00
44f2c2c381 Makefile: make 'make check' faster (#8755)
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
9c087d13ee *: replace github.com/etcd-io/gofail with the forked one (#8693)
With the adoption of Go module, GOPATH is not need any more
But github.com/etcd-io/gofail doesn't support packages outside the GOPATH
To overcome the drawback, this commit replace it with our forked one
2018-12-19 11:30:48 +08:00
5cf535329d Makefile: move 'go mod tidy' check to makefile (#8690) 2018-12-14 15:09:03 +08:00
50cb733565 tikv: accelerate tikv package testcase (#8562) 2018-12-06 15:31:46 +08:00
6a999a72f6 tidb: rm parser in make clean (#8249) 2018-11-09 19:25:02 +08:00
8e5f4b1244 *: update logrus and parser package, tiny clean up (#8158) 2018-11-05 15:39:51 +08:00
8ed433036b planner: refine PhysicalProjection.ResolveIndices during neighbouring Proj (#8073) 2018-11-02 13:42:12 +08:00
b7f431e5c3 *: migrate dependency management to Go1.11 module (#8054) 2018-11-01 20:54:22 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
69d5e36ac4 *: bump go version to 1.11 (#7491) 2018-08-29 21:48:50 +08:00
6d0bcf50ac makefile: add WITH_CHECK os env to make and tidb-server -V print out admin check status. (#7439) 2018-08-20 23:09:00 +08:00
5404e2eaae ddl: add admin check before drop table using building flag. (#7343) 2018-08-14 21:44:57 +08:00
b449589a7b Makefile: fix gofail go get repo path (#7341) 2018-08-09 22:27:48 +08:00
016b92d576 add timeout for make race (#7283) 2018-08-07 10:46:47 +08:00
0f4aba1942 Switch checks to use retool. Fix goword and errcheck (#7240)
* use retool for linters

Also fix goword and errcheck which were not being run correctly.
These are now under the check-fail task.

* fix goword wants proper package comments

* grammar

* tools: move into the hack/ folder
2018-08-02 21:20:27 +08:00
25f1e808f5 Use the revive linter. (#7197) 2018-07-31 13:19:09 +08:00
1a7e9ecf52 Makefile: update coverage ignore list (#6651) 2018-05-26 21:27:48 +08:00
d53e7d6873 Makefile: fix 'errcheck' after github.com/kisielk/errcheck is updated (#6574) 2018-05-18 13:01:58 +08:00
0b1b523a81 *:move explain_test to tidb repository (#6555) 2018-05-17 23:55:15 +08:00
090f7e5e22 Makefile: use go get golint again (#6371) 2018-04-25 10:46:47 +08:00
39efce670c fix fetch issue of golint (#6363) 2018-04-24 18:56:47 +08:00
b7e91b432c Makefile: add golint back (#6351) 2018-04-23 22:19:35 +08:00
f80484fe3f Makefile: disable golint (#6348)
golint is broken.
https://github.com/golang/lint/issues/396
2018-04-23 20:56:51 +08:00
1518319517 Makefile: split make check into multiple targets (#6253)
Makes it convenient when we only need to check one of the targets.
2018-04-11 20:37:19 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
5807feaf5b makefile,store/tikv: allow golint check context.Context in 'make check' (#5898) 2018-02-24 19:38:28 +08:00
807dc791d4 cmd: add importer tool. (#5695) 2018-01-22 18:48:18 +08:00
ea099f281b *: Add go version in tidb version info (#5636) 2018-01-14 19:48:52 +08:00
136462d76a use dep instead of glide (#5558) 2018-01-08 11:00:06 +08:00
cefe18f3cf makefile: fix coverage ci. (#5450) 2017-12-20 14:09:06 +08:00
54f019570c *: enable gofail for make dev. (#5325)
* *: update go-check

* *: enable gofail for make dev.
2017-12-06 19:51:57 +08:00