chore: add examples/keyword/clang-tidy
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
张泊明518370910136 2024-05-02 20:30:57 -04:00
parent 39a720afa2
commit 16a59a7fc2
GPG Key ID: D47306D7062CDA9D
3 changed files with 23 additions and 13 deletions

4
.gitmodules vendored
View File

@ -22,3 +22,7 @@
path = examples/keyword/cpplint/sillycode
url = ssh://git@focs.ji.sjtu.edu.cn:2222/FOCS-dev/JOJ3-examples.git
branch = keyword/cpplint/sillycode
[submodule "examples/keyword/clang-tidy/sillycode"]
path = examples/keyword/clang-tidy/sillycode
url = ssh://git@focs.ji.sjtu.edu.cn:2222/FOCS-dev/JOJ3-examples.git
branch = keyword/clang-tidy/sillycode

View File

@ -46,27 +46,32 @@ go test -coverprofile cover.out -v ./...
? focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/pkg/healthcheck [no test files]
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/executors/dummy coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/parsers/cpplint coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/executors/sandbox coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/parsers/dummy coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/stage coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/parsers/diff coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/stage coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/pkg/dummy coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/parsers/keyword coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/parsers/dummy coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/executors/sandbox coverage: 0.0% of statements
focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/parsers/resultstatus coverage: 0.0% of statements
=== RUN TestMain
=== RUN TestMain/compile/success
=== RUN TestMain/compile/error
=== RUN TestMain/dummy/success
=== RUN TestMain/dummy/error
=== RUN TestMain/compile/success
=== RUN TestMain/cpplint/sillycode
--- PASS: TestMain (0.42s)
--- PASS: TestMain/compile/success (0.28s)
--- PASS: TestMain/compile/error (0.01s)
--- PASS: TestMain/dummy/success (0.01s)
=== RUN TestMain/dummy/error
=== RUN TestMain/dummy/success
=== RUN TestMain/keyword/clang-tidy/sillycode
=== RUN TestMain/keyword/cpplint/sillycode
--- PASS: TestMain (2.28s)
--- PASS: TestMain/compile/error (0.03s)
--- PASS: TestMain/compile/success (0.42s)
--- PASS: TestMain/cpplint/sillycode (0.14s)
--- PASS: TestMain/dummy/error (0.01s)
--- PASS: TestMain/cpplint/sillycode (0.11s)
--- PASS: TestMain/dummy/success (0.01s)
--- PASS: TestMain/keyword/clang-tidy/sillycode (1.57s)
--- PASS: TestMain/keyword/cpplint/sillycode (0.11s)
PASS
coverage: 72.4% of statements
ok focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/cmd/joj3 0.425s coverage: 72.4% of statements
coverage: 74.0% of statements
ok focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/cmd/joj3 2.290s coverage: 74.0% of statements
```
### For developers

@ -0,0 +1 @@
Subproject commit 51160e0a0cb01159fa264435865185083d756b06