Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Apr 9, 2019

This was achieved by simply using double quotes instead of single ones in the emitted variables, e.g., `CXXFLAGS="-Wall -std=c++11 $MOREFLAGS". In your test you may write things like the following:

self.build_system.cxxflags = '-Wall -std=c++11 $MOREFLAGS'

Fixes #702.

This ensures that environment variables will be properly expanded if
specified.
@vkarak vkarak added this to the ReFrame sprint 2019w13 milestone Apr 9, 2019
@vkarak vkarak self-assigned this Apr 9, 2019
@vkarak vkarak requested a review from teojgo April 9, 2019 11:24
@pep8speaks
Copy link

Hello @vkarak, Thank you for submitting the Pull Request!

Line 175:80: E501 line too long (143 > 79 characters)

Do see the ReFrame Coding Style Guide

@vkarak vkarak requested a review from lucamar April 9, 2019 11:24
@vkarak
Copy link
Contributor Author

vkarak commented Apr 9, 2019

@pep8speaks This is an exception, sorry!

@vkarak
Copy link
Contributor Author

vkarak commented Apr 9, 2019

@jenkins-cscs retry all

@vkarak vkarak merged commit 715ac72 into reframe-hpc:master Apr 9, 2019
@vkarak vkarak deleted the feat/buildsys-allow-envvar-subst branch April 9, 2019 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants