-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Fixed a regression with DFLAGS environment variable and cached generated unittest #2116
Conversation
Thanks for your pull request and interest in making D better, @foerdi! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. |
@@ -701,10 +701,10 @@ class Dub { | |||
mkdirRecurse(mainfile.parentPath.toNativeString()); | |||
|
|||
bool regenerateMainFile = settings.force || !existsFile(mainfile); | |||
|
|||
auto escapedMainFile = mainfile.toNativeString().replace("$", "$$"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately escapeShellFileName
is not working, I got this Error Error: unrecognized file extension d'
test/cache-generated-test-config.sh
Outdated
@@ -4,6 +4,7 @@ | |||
cd ${CURR_DIR}/cache-generated-test-config | |||
rm -rf .dub | |||
|
|||
## defult test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## defult test | |
## default test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you
Can you also add a test with a non-empty DFLAGS ? |
Also please target stable |
06ed973
to
48de4b5
Compare
48de4b5
to
7591f71
Compare
sure |
I fixed a regression that @Geod24 found: #2005 (comment)
Should I or @Geod24 open an issue and link it with this PR?