commit 3ebebbc913534fb4c4598d3ed313d1bb3ff29020 Author: Boming Zhang Date: Wed Apr 3 18:26:34 2024 -0400 feat: init diff --git a/conf.toml b/conf.toml new file mode 100644 index 0000000..7648609 --- /dev/null +++ b/conf.toml @@ -0,0 +1,28 @@ +skipGitea = true +[[stages]] +name = "dummy" +[stages.executor] +name = "sandbox" +[stages.executor.with.default] +args = ["./dummy", "--score", "-1"] +env = ["PATH=/usr/bin:/bin"] +cpuLimit = 10_000_000_000 +memoryLimit = 104_857_600 +procLimit = 50 +copyInCwd = true +[stages.executor.with.default.copyIn.dummy] +src = "./../../../build/dummy" +copyOut = ["stdout", "stderr"] +[stages.executor.with.default.stdin] +content = "" +[stages.executor.with.default.stdout] +name = "stdout" +max = 4_096 +[stages.executor.with.default.stderr] +name = "stderr" +max = 4_096 +[stages.parser] +name = "dummy" +[stages.parser.with] +score = 10 +comment = " + comment from toml conf" diff --git a/expected.json b/expected.json new file mode 100644 index 0000000..210bc03 --- /dev/null +++ b/expected.json @@ -0,0 +1 @@ +[{"name":"dummy","results":[{"score":0,"comment":"Unexpected executor status: Nonzero Exit Status.\nStderr: dummy negative score: -1"}]}]