-
Notifications
You must be signed in to change notification settings - Fork 219
use 'python -O' in 'eb' command (REVIEW) #1357
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
Changes from 5 commits
bad3678
294a1d4
c3bdd01
5b97d7a
53b713c
d5f703e
e8fd163
a01e536
0828230
50fcf64
a6a0fb1
10ca758
62fbd3d
4af8579
64b9666
45b550c
aa6f329
9493707
d817f9a
2f07fca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
| .project | ||
| LICENSE_HEADER | ||
| *.pyc | ||
| *.pyo | ||
| *.nja | ||
| build/ | ||
| dist/ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,7 +65,7 @@ def test_easybuilderror(self): | |
| self.assertErrorRegex(EasyBuildError, 'BOOM', raise_easybuilderror, 'BOOM') | ||
| logToFile(tmplog, enable=False) | ||
|
|
||
| log_re = re.compile("^%s :: BOOM \(at .*:[0-9]+ in [a-z_]+\)$" % getRootLoggerName(), re.M) | ||
| log_re = re.compile("^%s :: BOOM( \(at .*:[0-9]+ in [a-z_]+\))?$" % getRootLoggerName(), re.M) | ||
|
||
| logtxt = open(tmplog, 'r').read() | ||
| self.assertTrue(log_re.match(logtxt), "%s matches %s" % (log_re.pattern, logtxt)) | ||
|
|
||
|
|
||
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.
supporting a way to turn off the use of
-Omight make sense...maybe the wrapper should check whether
-dor--debugwas passed on the command line (may be tricky for-d...) + check whether$EASYBUILD_DEBUGis set? this doesn't catch the case wheredebugis enabled via a config file though...