[ 
https://issues.apache.org/jira/browse/LUCENE-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man closed LUCENE-6234.
----------------------------

> harden smokeTestRelease.py's expectations regarding CWD
> -------------------------------------------------------
>
>                 Key: LUCENE-6234
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6234
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Hoss Man
>
> smokeTestRelease.py changed at some point to require/expect that you run it 
> from the root of the checkout of the branch you are smoke testing, per 
> rernst's comments in mail...
> bq. That part of the script expects you run from the root of a checkout.  It 
> runs the backcompat tests, and scrapes the test output to check all are 
> tested.
> The context was that i (out of habit from older versions of this script) was 
> trying to do this in my personal tmp space (expecting the script to create 
> it's RC specific tmp dir in the CWD)...
> {noformat}
> hossman@frisbee:~/tmp$ python3.2 
> ~/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py 
> http://people.apache.org/~anshum/staging_area/lucene-solr-5.0.0-RC2-rev1658469
> {noformat}
> If smokeTestRelease.py is going to have expectations about it's CWD, then it 
> should either enforce those expectations (ie: do a simple assert in main() 
> that the CWD meets some expectations, and/or check "$0") or it should use 
> "$0" to figure out where the root svn checkout is and cd to that directory 
> itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to