xdslproject / xdsl

A Python Compiler Design Toolkit
Other
219 stars 59 forks source link

`make filecheck` fails if the absolute path of the project directory contains a space #2598

Open watermelonwolverine opened 1 month ago

watermelonwolverine commented 1 month ago

If the absolute path of the project directory contains a space make filecheck fails with this error message:

# .---command stderr------------
# | 'cd' supports only one argument
# `-----------------------------

Wrapping {xdsl_src} and all %s in tests/filecheck/lit.cfg with \" fixes this issues

tobiasgrosser commented 1 month ago

Thank you for reporting. Would you mind proposing a PR?

watermelonwolverine commented 1 month ago

Ok, I'll do that tomorrow

watermelonwolverine commented 1 month ago

Added PR: https://github.com/xdslproject/xdsl/pull/2628