Compare commits

...

No commits in common. "sample/error" and "master" have entirely different histories.

4 changed files with 3 additions and 59 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
joj3_result.json

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# JOJ3 examples
Check other branches.

View File

@ -1,57 +0,0 @@
{
"stage": {
"stages": [
{
"name": "sample",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"./sample",
"--score",
"-1"
],
"env": [
"PATH=/usr/bin:/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyIn": {
"sample": {
"src": "./../../../../../../build/sample"
}
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
}
}
}
},
"parsers": [
{
"name": "sample",
"with": {
"score": 10,
"comment": " + comment from toml conf"
}
}
]
}
]
}
}

View File

@ -1 +0,0 @@
[{"name":"sample","results":[{"score":0,"comment":"Failed to parse result: unexpected end of JSON input"}],"force_quit":false}]