Skip to content
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

[interpreter] Update Makefile to ignore output of cd #1683

Merged
merged 2 commits into from
Sep 22, 2023
Merged

[interpreter] Update Makefile to ignore output of cd #1683

merged 2 commits into from
Sep 22, 2023

Conversation

tlively
Copy link
Member

@tlively tlively commented Sep 21, 2023

The interpreter Makefile captures the output of cding into the unittest
directory and listing the unittest files it contains. Under some circumstances,
the cd command will print the new current directory, and that output was
incorrectly being interpreted as the path to a unittest, causing the build to
fail.

Fix this problem by redirecting the output of cd, if any, to /dev/null.

Fixes #1681.

The interpreter Makefile captures the output of cding into the unittest
directory and listing the unittest files it contains. Under some circumstances,
the `cd` command will print the new current directory, and that output was
incorrectly being interpreted as the path to a unittest, causing the build to
fail.

Fix this problem by redirecting the output of cd, if any, to /dev/null.

Fixes #1681.
@tlively
Copy link
Member Author

tlively commented Sep 21, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@rossberg
Copy link
Member

Oh, you might wanna do the same for TESTFILES.

@tlively
Copy link
Member Author

tlively commented Sep 21, 2023

done, thanks

@tlively tlively merged commit bfb21e9 into main Sep 22, 2023
1 check passed
rossberg pushed a commit that referenced this pull request Oct 13, 2023
The interpreter Makefile captures the output of cding into the unittest
directory and listing the unittest files it contains. Under some circumstances,
the `cd` command will print the new current directory, and that output was
incorrectly being interpreted as the path to a unittest, causing the build to
fail.

Fix this problem by redirecting the output of cd, if any, to /dev/null.

Fixes #1681.
@rossberg rossberg deleted the devnull branch February 28, 2024 15:01
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.

make test does not work ~on linux~ with CDPATH
2 participants