Commit Graph

97 Commits

Author SHA1 Message Date
a54faadfa9 *: fix revive false positive with generics (#39666) 2022-12-06 17:16:03 +08:00
8db7c3b30e ci, Makefile: add make rule to check bazel prepare (#38818)
close pingcap/tidb#38817
2022-11-02 20:52:00 +08:00
5cdfea619f *: bring back the 'make ut' (#38806) 2022-11-02 17:18:00 +08:00
2970dd4ec3 tools: skip tools/check when to use ut (#37167)
close pingcap/tidb#37166
2022-08-17 15:28:52 +08:00
1b3c09bba1 *: remove useless gomod (#36516) 2022-08-14 10:00:49 +08:00
xhe
2873057592 *: do not rely on git to check file perm (#37008) 2022-08-10 13:46:47 +08:00
xhe
4b3563c6cb *: forbid creation of normal files with exec perm (#36691) 2022-08-09 15:42:47 +08:00
xhe
e5c900c8cd tools: use go install to cleanup go.mod (#36702) 2022-07-29 20:57:12 +08:00
704275b7c6 tools/check: add logging and path sanitization (#36083)
close pingcap/tidb#36082
2022-07-14 16:47:06 +08:00
aa7a0fbdc3 *: enable misspell (#35719)
ref pingcap/tidb#35345
2022-07-04 10:35:00 +08:00
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
6d80d0027d testkit: add a WithTiKV flag to support run unit test on real TiKV (#35647)
close pingcap/tidb#35646
2022-06-30 14:16:39 +08:00
5d7915c6f1 tools/check: skip 'tests' directory in 'make ut' (#35800)
close pingcap/tidb#35799
2022-06-29 11:30:39 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
62e2358071 ut: add timeout for race (#34893)
close pingcap/tidb#34892
2022-05-24 15:44:46 +08:00
098dee6612 tools/check: 'ut' now remove support for the old test cases (#34800)
close pingcap/tidb#30822
2022-05-19 14:08:38 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
7443ec8f6f tools/check: let ut binary retry on more errors to make CI stable (#33964)
close pingcap/tidb#32690
2022-04-14 18:38:35 +08:00
1bb87b291e Makefile: add --race flag for tool/bin/ut to support race test (#33765)
close pingcap/tidb#33745
2022-04-07 17:30:32 +08:00
09b73186f8 tools/check: make ut retry on special 'segmentation fault' error (#33566)
ref pingcap/tidb#32392, close pingcap/tidb#32690
2022-03-31 14:58:29 +08:00
6517ee3fb6 *: migrate tidb-tools (#33296)
close pingcap/tidb#32999
2022-03-25 19:08:35 +08:00
23d79d48c2 tools/check/ut: support pattern matching on test names (#33020)
ref pingcap/tidb#30822
2022-03-23 11:38:33 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
fc94e59214 tools/check: revise the error message for failed test case (#32533)
close pingcap/tidb#32532
2022-02-22 19:55:44 +08:00
c9d8fdc80d Makefile: run stable cases and unstable cases seperately (#32525)
close pingcap/tidb#32524
2022-02-22 15:33:43 +08:00
d20be034f1 tools/check: exit non-zero when the unit test fail (#32444)
close pingcap/tidb#32442
2022-02-18 14:59:40 +08:00
2edd35f917 tools/check: remove a unused file (#32266)
close pingcap/tidb#26289
2022-02-11 21:31:36 +08:00
4d7b4097e1 Makefile: tiny polish the make ut command (#32244)
close pingcap/tidb#32243
2022-02-11 10:49:36 +08:00
fe0f1eadc2 tools/check/ut: reduce the generated coverage file size (#32201)
close pingcap/tidb#32200
2022-02-10 20:01:36 +08:00
3994bb6019 tools/check: add 2min timeout for each test function (#32208)
close pingcap/tidb#32207
2022-02-09 22:23:35 +08:00
23f7e51ae0 *: Use the new CI script as default (#31752)
close pingcap/tidb#31893
2022-01-27 21:25:13 +08:00
6a5be6c227 tools/bin/ut: support generate JUnit format test report (#31892)
close pingcap/tidb#30822
2022-01-27 16:27:12 +08:00
19a020c599 tools/bin/ut: support generate the test coverage file (#31886)
close pingcap/tidb#31885
2022-01-27 10:29:12 +08:00
184b747091 tools/bin/ut: do not use the numactl command to run tests (#31891)
close pingcap/tidb#31890
2022-01-26 19:48:45 +08:00
373f04140d tools/bin/ut: accelerate building test binary (#31882)
close pingcap/tidb#31880
2022-01-25 14:40:11 +08:00
06a4dfaecb ddl, tools, util: migrate pingcap check to testify. (#31313)
close pingcap/tidb#28630, close pingcap/tidb#28631, close pingcap/tidb#28638, close pingcap/tidb#28639, close pingcap/tidb#29104, close pingcap/tidb#29108, close pingcap/tidb#29109, close pingcap/tidb#29111, close pingcap/tidb#29114
2022-01-20 13:41:45 +08:00
1d14d996b0 tools: exit(1) when test/build fail (#31247) 2022-01-12 16:25:42 +08:00
fcfd8387bf expression: enable strcmp for tiflash (#30983) 2021-12-29 17:19:50 +08:00
c205b01d59 ddl: fix some unit test funcion that can't run independently (#31086)
close pingcap/tidb#31085
2021-12-29 15:11:50 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
ec55c38d14 Makefile,tools: make CI great again! (#30828)
close pingcap/tidb#30822
2021-12-23 11:01:47 +08:00
b2ea0e66b8 makefile: add gotestsum for verify ci (#29848) 2021-12-07 11:21:56 +08:00
xhe
1001bcc54e [parser] remove replace check
Signed-off-by: xhe <xw897002528@gmail.com>
2021-10-09 14:53:23 +08:00
xhe
94982a2c69 [parser] fix errdoc
Signed-off-by: xhe <xw897002528@gmail.com>
2021-10-09 14:53:23 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
463e6ba2e4 store: migrate test-infra to testify (#27993) 2021-09-16 14:58:43 +08:00
29fd989bb2 store/mockstore/unistore/lockstore, store/mockstore/unistore/util/lockwaiter: migrate test-infra to testify (#27705) 2021-09-13 17:38:40 +08:00
502a10d760 ddl: replace SetDDLErrorCountLimit (#27809) 2021-09-13 14:54:40 +08:00
cc04fdc5d6 ddl/failtest: migrate test-infra to testify (#27747) 2021-09-08 12:00:57 +08:00