Commit Graph

123 Commits

Author SHA1 Message Date
390de884f4 tools: remove go:build ignore and put xprog into new package (#56975) 2024-10-30 02:14:27 +00:00
c32c7b2071 tools: fix built for ut tool (#56925)
ref pingcap/tidb#55480
2024-10-29 07:12:57 +00:00
6a85c6bbbd *: enable intrange linter (#56674)
ref pingcap/tidb#55480
2024-10-28 07:48:39 +00:00
cf5e1baecb script: update guide to use git apply - to resolve bazel change (#56646) 2024-10-15 05:56:54 +00:00
b5ec2e33a3 *: update rules_go 0.50.1 (#55933) 2024-09-09 09:48:31 +00:00
Hu#
4cfc182bdf tools/ut.go: replace path with filepath (#55122)
ref pingcap/tidb#30822
2024-08-08 08:06:47 +00:00
45e466d16e tools: run make generate on parser directory (#55247) 2024-08-07 09:31:02 +00:00
ce0204a65f tools: add //go:build ignore to the main files in tools/check (#54654)
close pingcap/tidb#54653
2024-07-16 07:07:29 +00:00
Hu#
634ac69d27 tools/ut.go: add concurrent when listing pkgs (#54306)
ref pingcap/tidb#30822
2024-07-03 17:59:58 +00:00
2c4c5bbf76 tools/ut: skip Lightning tests in make ut (#52341)
ref pingcap/tidb#52182
2024-04-07 01:55:49 +00:00
9241078902 tools/check: close junit file (#52149) 2024-03-28 03:47:18 +00:00
2558b0c307 *: fix make ut fail (#51423) 2024-02-29 11:03:42 +00:00
33d7a2c984 tools/check: adpot staged build to make ut a little bit faster (#51374)
ref pingcap/tidb#31880
2024-02-28 02:42:30 +00:00
cfe245d372 makefile, tools: update tools/check/ut to make it work without unstable.txt (#50276)
ref pingcap/tidb#45961
2024-01-11 02:31:54 +00:00
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