lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Closed] (LUCENE-6234) harden's expectations regarding CWD
Date Tue, 17 Feb 2015 21:25:11 GMT


Hoss Man closed LUCENE-6234.

> harden's expectations regarding CWD
> -------------------------------------------------------
>                 Key: LUCENE-6234
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Hoss Man
> 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/
> {noformat}
> If 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message