Compare commits

..

No commits in common. "2c3944ea3f8c1abe857c0e389f1feecfbb1df2b1" and "26df677b3688db16cd825f01c0b1a46139b531b9" have entirely different histories.

9 changed files with 15 additions and 40 deletions

View File

@ -44,7 +44,7 @@ InputFile = Union[LocalFile, MemoryFile, PreparedFile, Symlink]
class Cmd(BaseModel): class Cmd(BaseModel):
args: List[str] = [] args: List[str] = []
env: List[str] = ["PATH=/usr/bin:/bin:/usr/local/bin"] env: List[str] = []
stdin: Union[InputFile, StreamIn] = MemoryFile(content="") stdin: Union[InputFile, StreamIn] = MemoryFile(content="")
stdout: Union[Collector, StreamOut] = Collector(name="stdout") stdout: Union[Collector, StreamOut] = Collector(name="stdout")
stderr: Union[Collector, StreamOut] = Collector(name="stderr") stderr: Union[Collector, StreamOut] = Collector(name="stderr")

View File

@ -222,6 +222,7 @@ def fix_diff(
] ]
) )
parser_cases.append(parser_case) parser_cases.append(parser_case)
for case in default_cases: for case in default_cases:
cmd = result.OptionalCmd( cmd = result.OptionalCmd(
stdin=result.LocalFile(src=str(base_dir / f"{case}.in")) stdin=result.LocalFile(src=str(base_dir / f"{case}.in"))

View File

@ -18,9 +18,7 @@
"with": { "with": {
"default": { "default": {
"args": [], "args": [],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },
@ -110,9 +108,7 @@
"args": [ "args": [
"./tools/compile" "./tools/compile"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },
@ -199,9 +195,7 @@
"*.cpp", "*.cpp",
"*.h" "*.h"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },
@ -301,9 +295,7 @@
"h7/build", "h7/build",
"h7/ex2.cpp" "h7/ex2.cpp"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },
@ -429,9 +421,7 @@
"--quiet", "--quiet",
"h7/ex2.cpp" "h7/ex2.cpp"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },
@ -576,9 +566,7 @@
"--exclude=build", "--exclude=build",
"h7/ex2.cpp" "h7/ex2.cpp"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },
@ -675,9 +663,7 @@
"./h7/build/ex2-asan", "./h7/build/ex2-asan",
"-a" "-a"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },

View File

@ -26,9 +26,7 @@
"h7/build", "h7/build",
"h7/ex2.cpp" "h7/ex2.cpp"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },

View File

@ -26,9 +26,7 @@
"--quiet", "--quiet",
"h7/ex2.cpp" "h7/ex2.cpp"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },

View File

@ -25,9 +25,7 @@
"--exclude=build", "--exclude=build",
"h7/ex2.cpp" "h7/ex2.cpp"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },

View File

@ -21,9 +21,7 @@
"./h7/build/ex2-asan", "./h7/build/ex2-asan",
"-a" "-a"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },

View File

@ -24,9 +24,7 @@
"*.cpp", "*.cpp",
"*.h" "*.h"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },

View File

@ -24,9 +24,7 @@
"*.cpp", "*.cpp",
"*.h" "*.h"
], ],
"env": [ "env": [],
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": { "stdin": {
"content": "" "content": ""
}, },