Files
2022-05-04 16:11:25 -06:00

14 lines
360 B
Python

from pathlib import Path
CD = Path(__file__).parent
DATA = CD / "data"
def get_data_path_by_name(name):
if name == "hello-world.exe":
return DATA / "hello-world" / "hello-world.exe"
elif name == "ModuleCode_x86.exe":
return DATA / "mixed-mode" / "ModuleCode" / "bin" / "ModuleCode_x86.exe"
raise ValueError("unknown test file")