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):
args: List[str] = []
env: List[str] = ["PATH=/usr/bin:/bin:/usr/local/bin"]
env: List[str] = []
stdin: Union[InputFile, StreamIn] = MemoryFile(content="")
stdout: Union[Collector, StreamOut] = Collector(name="stdout")
stderr: Union[Collector, StreamOut] = Collector(name="stderr")

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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