Skip to content

split dub search test#1324

Merged
s-ludwig merged 1 commit intodlang:masterfrom
MartinNowak:dub_search_test
Jan 12, 2018
Merged

split dub search test#1324
s-ludwig merged 1 commit intodlang:masterfrom
MartinNowak:dub_search_test

Conversation

@MartinNowak
Copy link
Copy Markdown
Member

@MartinNowak MartinNowak commented Jan 3, 2018

- to better localize errors
@dlang-bot
Copy link
Copy Markdown
Collaborator

Thanks for your pull request, @MartinNowak!

if ! OUTPUT=$(${DUB} search dub -v 2>&1); then
die $LINENO '`dub search dub` failed' "$OUTPUT"
fi
if ! grep -q '^dub (.*)\s'<<<"$OUTPUT"; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here strings are Bash-specific, but I assume there's no one running the testsuite with something other than bash?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't be the case. There are certainly some other places as well where bash-specifc syntax is used.

@s-ludwig s-ludwig merged commit f7e6b42 into dlang:master Jan 12, 2018
@MartinNowak MartinNowak deleted the dub_search_test branch August 30, 2022 06:02
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.

4 participants