Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  File naming

Guest
Posted: Thu Nov 11, 2010 10:12 am Reply with quote
Guest
Hello!

The run_test executable has been part of Erlang too long for it to be
renamed at this point without affecting a lot of projects. It has just
recently been moved into the default path of an installed Erlang system
which is probably why you haven't run into this issue before.

It is unfortunate that such a generic name was chosen (ct_run would have
been better imo) but alas there are too many people depending on that
name right now.

It is also strange that a voice synthesizer software has a exectutable
called run_test, but I guess they have the same reasons as we do for not
wanting to change that.

Lukas

On Mon, 2010-11-08 at 18:05 +0100, Christian Faulhammer wrote:
> Hi,
>
> the binary run_test is a badly chosen name as it is really generic and
> collides with a binary of the same name in the speech_dispatcher
> package. Is a rename to something more special like run_erlang_test
> possible without any sideeffects?
>
> V-Li
>


________________________________________________________________
erlang-bugs (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-bugs-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Thu Nov 11, 2010 10:12 am Reply with quote
Guest
On Thu, 2010-11-11 at 10:21 +0100, Lukas Larsson wrote:
> Hello!
>
> The run_test executable has been part of Erlang too long for it to be
> renamed at this point without affecting a lot of projects. It has just
> recently been moved into the default path of an installed Erlang system
> which is probably why you haven't run into this issue before.
>
> It is unfortunate that such a generic name was chosen (ct_run would have
> been better imo) but alas there are too many people depending on that
> name right now.

Rename 'run_test' to 'ct_test', add a new 'run_test' that prints a
warning and executes 'ct_test' and then remove the 'run_test' completely
in the next major version or two?

I agree with the OP - having a /usr/bin/run_test in my Ubuntu system
that I guess runs a test suite for a voice synthesizer is... suboptimal.

/Fredrik



________________________________________________________________
erlang-bugs (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-bugs-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Thu Nov 11, 2010 10:13 am Reply with quote
Guest
Hi,

the binary run_test is a badly chosen name as it is really generic and
collides with a binary of the same name in the speech_dispatcher
package. Is a rename to something more special like run_erlang_test
possible without any sideeffects?

V-Li

--
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://gentoo.faulhammer.org/>


Post received from mailinglist
Guest
Posted: Thu Nov 11, 2010 1:37 pm Reply with quote
Guest
Hi,

Lukas Larsson <lukas@erix.ericsson.se>:
> The run_test executable has been part of Erlang too long for it to be
> renamed at this point without affecting a lot of projects. It has just
> recently been moved into the default path of an installed Erlang
> system which is probably why you haven't run into this issue before.

Ah ok, so I could just remove the symlink into /usr/bin

> It is unfortunate that such a generic name was chosen (ct_run would
> have been better imo) but alas there are too many people depending on
> that name right now.

You want to carry that cruft for the rest of Erlang's life then?
Deprecate it by providing both and give a warning when called. Remove
it in 15B or 16B.

> It is also strange that a voice synthesizer software has a exectutable
> called run_test, but I guess they have the same reasons as we do for
> not wanting to change that.

I discussed with the Gentoo accessibility team and they told me that
run_test is on its way out of speech_dispatcher, they kindly removed
it for me in a newer version.

V-Li

--
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://gentoo.faulhammer.org/>


Post received from mailinglist
Guest
Posted: Thu Nov 11, 2010 5:58 pm Reply with quote
Guest
Good point, I'll do the rename for the next minor release (R14B01) and
introduce a warning into the old version when using it.

It'll be a couple of years until we can remove run_test permanently, but
as you say better late than never.

Thanks for your input,
Lukas

On Thu, 2010-11-11 at 14:37 +0100, Christian Faulhammer wrote:
> Hi,
>
> Lukas Larsson <lukas@erix.ericsson.se>:
> > The run_test executable has been part of Erlang too long for it to be
> > renamed at this point without affecting a lot of projects. It has just
> > recently been moved into the default path of an installed Erlang
> > system which is probably why you haven't run into this issue before.
>
> Ah ok, so I could just remove the symlink into /usr/bin
>
> > It is unfortunate that such a generic name was chosen (ct_run would
> > have been better imo) but alas there are too many people depending on
> > that name right now.
>
> You want to carry that cruft for the rest of Erlang's life then?
> Deprecate it by providing both and give a warning when called. Remove
> it in 15B or 16B.
>
> > It is also strange that a voice synthesizer software has a exectutable
> > called run_test, but I guess they have the same reasons as we do for
> > not wanting to change that.
>
> I discussed with the Gentoo accessibility team and they told me that
> run_test is on its way out of speech_dispatcher, they kindly removed
> it for me in a newer version.
>
> V-Li
>


________________________________________________________________
erlang-bugs (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-bugs-unsubscribe@erlang.org

Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum