Commit Graph

109 Commits

Author SHA1 Message Date
aa090949f5 bazel: support module (#49372) 2023-12-12 11:06:26 +00:00
86a7ab3cb2 tools/check: increase the parallelism for building test binaries (#48985)
ref pingcap/tidb#31880
2023-11-30 02:05:47 +00:00
657f0d94a9 pkg: stop using math/rand.Seed (#48653) 2023-11-17 06:00:53 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00
7d71771937 tests: integrationtest support report warnings (#47010)
ref pingcap/tidb#45961
2023-09-19 16:58:42 +00:00
bc65f2330c ut: support test.short for ut (#45396)
ref pingcap/tidb#45386
2023-07-18 01:56:16 +00:00
9eb62f4582 makefile: support rbe for bazel prepare in ci (#44763)
ref pingcap/tidb#44765
2023-06-19 04:17:11 +00:00
0013190875 *: Show required changes by git diff when CI check bazel files failed (#44663)
close pingcap/tidb#44661
2023-06-14 04:07:08 +00:00
575d3bbcef makefile: not use bazel_parpare in check-bazel-prepare (#43831) 2023-05-15 11:55:18 +00:00
9cf69a9633 lightning: add lint rule & fix existing lightning lint err (#42733)
ref pingcap/tidb#40499
2023-04-03 13:36:56 +08:00
29adb0aa86 ddl: Increase ddl unit test speed (#41034)
close pingcap/tidb#41216
2023-03-07 18:57:12 +08:00
9ebd766b53 util: add InTest to check whether to be in test (#40927)
close pingcap/tidb#40929
2023-02-01 15:27:56 +08:00
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