fix: command in cases

This commit is contained in:
李衍志523370910113 2024-11-13 17:36:00 +08:00
parent 6e182a81b9
commit 69b9af03a0
2 changed files with 35 additions and 46 deletions

View File

@ -145,9 +145,9 @@
], ],
"copyOutCached": [ "copyOutCached": [
"h6/build/ex3", "h6/build/ex3",
"build/asan", "h6/build/asan",
"build/ubsan", "h6/build/ubsan",
"build/msan", "h6/build/msan",
"h6/build/compile_commands.json" "h6/build/compile_commands.json"
], ],
"copyOutMax": 0, "copyOutMax": 0,
@ -248,9 +248,9 @@
}, },
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -369,9 +369,9 @@
}, },
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -509,9 +509,9 @@
"copyIn": {}, "copyIn": {},
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -625,9 +625,9 @@
"copyIn": {}, "copyIn": {},
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -705,7 +705,7 @@
"with": { "with": {
"default": { "default": {
"args": [ "args": [
"./build/asan", "./h6/build/asan",
"-a" "-a"
], ],
"env": [ "env": [
@ -743,9 +743,9 @@
"copyIn": {}, "copyIn": {},
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -830,20 +830,12 @@
"procLimit": 50, "procLimit": 50,
"cpuRateLimit": 0, "cpuRateLimit": 0,
"cpuSetLimit": "", "cpuSetLimit": "",
"copyIn": { "copyIn": {},
"h6/build/msan": {
"src": "/home/tt/.config/joj/h6/build/msan",
"max": 419430400,
"streamIn": true,
"streamOut": true,
"pipe": true
}
},
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -928,20 +920,12 @@
"procLimit": 50, "procLimit": 50,
"cpuRateLimit": 0, "cpuRateLimit": 0,
"cpuSetLimit": "", "cpuSetLimit": "",
"copyIn": { "copyIn": {},
"h6/build/ubsan": {
"src": "/home/tt/.config/joj/h6/build/ubsan",
"max": 419430400,
"streamIn": true,
"streamOut": true,
"pipe": true
}
},
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -1028,9 +1012,9 @@
"copyIn": {}, "copyIn": {},
"copyInCached": { "copyInCached": {
"h6/build/ex3": "h6/build/ex3", "h6/build/ex3": "h6/build/ex3",
"build/asan": "build/asan", "h6/build/asan": "h6/build/asan",
"build/ubsan": "build/ubsan", "h6/build/ubsan": "h6/build/ubsan",
"build/msan": "build/msan", "h6/build/msan": "h6/build/msan",
"h6/build/compile_commands.json": "h6/build/compile_commands.json" "h6/build/compile_commands.json": "h6/build/compile_commands.json"
}, },
"copyInDir": ".", "copyInDir": ".",
@ -1048,6 +1032,10 @@
}, },
"cases": [ "cases": [
{ {
"args": [
"Manuel",
"Charlemagne"
],
"env": [ "env": [
"PATH=/usr/bin:/bin:/usr/local/bin" "PATH=/usr/bin:/bin:/usr/local/bin"
], ],

View File

@ -128,6 +128,7 @@ case0.score = 10
case0.limit.cpu = 30 case0.limit.cpu = 30
case0.limit.mem = 32 case0.limit.mem = 32
case0.limit.stdout = 8 case0.limit.stdout = 8
case0.command = "Manuel Charlemagne"
case1.score = 10 case1.score = 10
case1.limit.cpu = 30 case1.limit.cpu = 30