fix: num -> string in toml
This commit is contained in:
parent
d6a33d2f20
commit
924325b933
|
@ -496,8 +496,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "clang-tidy",
|
"name": "clangtidy",
|
||||||
"with": {}
|
"with": {
|
||||||
|
"matches": []
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "result-detail",
|
"name": "result-detail",
|
||||||
|
@ -570,7 +572,7 @@
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 65,
|
"max": 68157440,
|
||||||
"pipe": true
|
"pipe": true
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
|
@ -717,9 +719,9 @@
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"src": "/home/tt/.config/joj/basic/case1.in"
|
"src": "/home/tt/.config/joj/basic/case1.in"
|
||||||
},
|
},
|
||||||
"cpuLimit": 1234567890,
|
"cpuLimit": 1000000000,
|
||||||
"clockLimit": 2469135780,
|
"clockLimit": 2000000000,
|
||||||
"memoryLimit": 9876543210,
|
"memoryLimit": 5242880,
|
||||||
"procLimit": 50
|
"procLimit": 50
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -53,7 +53,7 @@ name = "[cq] Cppcheck"
|
||||||
command = "cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --suppress=missingIncludeSystem --quiet h7/ex2.cpp"
|
command = "cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --suppress=missingIncludeSystem --quiet h7/ex2.cpp"
|
||||||
limit.stderr = "8m"
|
limit.stderr = "8m"
|
||||||
|
|
||||||
parsers = [ "keyword", "cppcheck", "clang-tidy", "result-detail", "cpplint", "result-status", "file", "dummy", "diff" ]
|
parsers = [ "keyword", "cppcheck", "clangtidy", "result-detail", "cpplint", "result-status", "file", "dummy", "diff" ]
|
||||||
cppcheck.keyword = ["error", "warning", "portability", "performance", "style"]
|
cppcheck.keyword = ["error", "warning", "portability", "performance", "style"]
|
||||||
cppcheck.weight = [15, 5, 5, 5, 5]
|
cppcheck.weight = [15, 5, 5, 5, 5]
|
||||||
result-detail.exitstatus = true
|
result-detail.exitstatus = true
|
||||||
|
@ -64,7 +64,7 @@ result-detail.mem = false
|
||||||
[[stages]]
|
[[stages]]
|
||||||
name = "[cq] Cpplint"
|
name = "[cq] Cpplint"
|
||||||
command = "cpplint --linelength=120 --filter=-legal,-readability/casting,-whitespace,-runtime/printf,-runtime/threadsafe_fn,-runtime/int,-readability/todo,-build/include_subdir,-build/header_guard,-build/include_what_you_use --recursive --exclude=build h7/ex2.cpp"
|
command = "cpplint --linelength=120 --filter=-legal,-readability/casting,-whitespace,-runtime/printf,-runtime/threadsafe_fn,-runtime/int,-readability/todo,-build/include_subdir,-build/header_guard,-build/include_what_you_use --recursive --exclude=build h7/ex2.cpp"
|
||||||
limit.stdout = 65
|
limit.stdout = "65m"
|
||||||
|
|
||||||
parsers = [ "cpplint", "result-detail" ]
|
parsers = [ "cpplint", "result-detail" ]
|
||||||
cpplint.keyword = [ "runtime", "readability", "build" ]
|
cpplint.keyword = [ "runtime", "readability", "build" ]
|
||||||
|
@ -94,8 +94,8 @@ case0.diff.output.ignore_spaces = true
|
||||||
case0.in = "case0.in"
|
case0.in = "case0.in"
|
||||||
|
|
||||||
case1.diff.output.score = 5
|
case1.diff.output.score = 5
|
||||||
case1.limit.cpu = 1234567890
|
case1.limit.cpu = "1s"
|
||||||
case1.limit.mem = 9876543210
|
case1.limit.mem = "5m"
|
||||||
case1.diff.output.ignore_spaces = true
|
case1.diff.output.ignore_spaces = true
|
||||||
#case1.limit.stdout = 8
|
#case1.limit.stdout = 8
|
||||||
#case1.command = "./h7/build/ex2"
|
#case1.command = "./h7/build/ex2"
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 65,
|
"max": 68157440,
|
||||||
"pipe": true
|
"pipe": true
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
|
|
|
@ -9,7 +9,7 @@ release.begin_time = 2024-12-29 23:59:59+08:00
|
||||||
name = "[cq] Clang-tidy"
|
name = "[cq] Clang-tidy"
|
||||||
command = "run-clang-tidy-18 -header-filter=.* -quiet -load=/usr/local/lib/libcodequality.so -p h7/build h7/ex2.cpp"
|
command = "run-clang-tidy-18 -header-filter=.* -quiet -load=/usr/local/lib/libcodequality.so -p h7/build h7/ex2.cpp"
|
||||||
files.import = [ "tests/homework/h7/.clang-tidy", "h7/build/compile_commands.json" ]
|
files.import = [ "tests/homework/h7/.clang-tidy", "h7/build/compile_commands.json" ]
|
||||||
limit.stdout = 65
|
limit.stdout = "65m"
|
||||||
|
|
||||||
parsers = [ "clangtidy", "result-detail" ]
|
parsers = [ "clangtidy", "result-detail" ]
|
||||||
clangtidy.keyword = [ "codequality-unchecked-malloc-result", "codequality-no-global-variables", "codequality-no-header-guard", "codequality-no-fflush-stdin", "readability-function-size", "readability-duplicate-include", "readability-identifier-naming", "readability-redundant", "readability-misleading-indentation", "readability-misplaced-array-index", "cppcoreguidelines-init-variables", "bugprone-suspicious-string-compare", "google-global-names-in-headers", "clang-diagnostic", "clang-analyzer", "misc", "performance", "portability" ]
|
clangtidy.keyword = [ "codequality-unchecked-malloc-result", "codequality-no-global-variables", "codequality-no-header-guard", "codequality-no-fflush-stdin", "readability-function-size", "readability-duplicate-include", "readability-identifier-naming", "readability-redundant", "readability-misleading-indentation", "readability-misplaced-array-index", "cppcoreguidelines-init-variables", "bugprone-suspicious-string-compare", "google-global-names-in-headers", "clang-diagnostic", "clang-analyzer", "misc", "performance", "portability" ]
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 65,
|
"max": 68157440,
|
||||||
"pipe": true
|
"pipe": true
|
||||||
},
|
},
|
||||||
"cpuLimit": 1000000000,
|
"cpuLimit": 1000000000,
|
||||||
|
|
|
@ -8,7 +8,7 @@ release.begin_time = 2024-12-29 23:59:59+08:00
|
||||||
[[stages]]
|
[[stages]]
|
||||||
name = "[cq] Cppcheck"
|
name = "[cq] Cppcheck"
|
||||||
command = "cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --suppress=missingIncludeSystem --quiet h7/ex2.cpp"
|
command = "cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --suppress=missingIncludeSystem --quiet h7/ex2.cpp"
|
||||||
limit.stderr = 65
|
limit.stderr = "65m"
|
||||||
|
|
||||||
parsers = [ "cppcheck", "result-detail" ]
|
parsers = [ "cppcheck", "result-detail" ]
|
||||||
cppcheck.keyword = ["error", "warning", "portability", "performance", "style"]
|
cppcheck.keyword = ["error", "warning", "portability", "performance", "style"]
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 65,
|
"max": 68157440,
|
||||||
"pipe": true
|
"pipe": true
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
|
|
|
@ -8,7 +8,7 @@ release.begin_time = 2024-12-29 23:59:59+08:00
|
||||||
[[stages]]
|
[[stages]]
|
||||||
name = "[cq] Cpplint"
|
name = "[cq] Cpplint"
|
||||||
command = "cpplint --linelength=120 --filter=-legal,-readability/casting,-whitespace,-runtime/printf,-runtime/threadsafe_fn,-runtime/int,-readability/todo,-build/include_subdir,-build/header_guard,-build/include_what_you_use --recursive --exclude=build h7/ex2.cpp"
|
command = "cpplint --linelength=120 --filter=-legal,-readability/casting,-whitespace,-runtime/printf,-runtime/threadsafe_fn,-runtime/int,-readability/todo,-build/include_subdir,-build/header_guard,-build/include_what_you_use --recursive --exclude=build h7/ex2.cpp"
|
||||||
limit.stdout = 65
|
limit.stdout = "65m"
|
||||||
|
|
||||||
parsers = [ "cpplint", "result-detail" ]
|
parsers = [ "cpplint", "result-detail" ]
|
||||||
cpplint.keyword = [ "runtime", "readability", "build" ]
|
cpplint.keyword = [ "runtime", "readability", "build" ]
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
},
|
},
|
||||||
"cpuLimit": 1000000000,
|
"cpuLimit": 1000000000,
|
||||||
"clockLimit": 2000000000,
|
"clockLimit": 2000000000,
|
||||||
"memoryLimit": 91224961,
|
"memoryLimit": 68157440,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
|
|
@ -9,7 +9,7 @@ release.begin_time = 2024-12-29 23:59:59+08:00
|
||||||
name = "[joj] ex2-asan"
|
name = "[joj] ex2-asan"
|
||||||
command="./h7/build/ex2-asan -a"
|
command="./h7/build/ex2-asan -a"
|
||||||
files.import = [ "h7/build/ex2-asan" ]
|
files.import = [ "h7/build/ex2-asan" ]
|
||||||
limit.mem = 91224961
|
limit.mem = "65m"
|
||||||
|
|
||||||
parsers = [ "diff", "result-detail" ]
|
parsers = [ "diff", "result-detail" ]
|
||||||
result-detail.exitstatus = true
|
result-detail.exitstatus = true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user