Skip to content

Run convert_project in a distinct working directory. #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattmccutchen-cci
Copy link
Collaborator

This should detect if anything run by convert_project inappropriately assumes that the working directory is the same as one of the other important directories involved (the source directory, build directory, etc.).

Example: With correctcomputation/checkedc-clang#488 modified to use the original getCanonicalFilePath (which may assert when the working directory differs from the directory field in the compilation database: details), we now see the failure in vsftpd. Previously it was masked because the workflow set the working directory to the project base directory, which equals the compilation database directory field in the case of vsftpd.

This should detect if anything run by convert_project inappropriately
assumes that the working directory is the same as one of the other
important directories involved (the source directory, build directory,
etc.).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant