Bug #1309

dl tests

Added by cfis (Charlie Savage) about 3 years ago. Updated about 1 year ago.

[ruby-core:22990]
Status:Rejected Start date:03/22/2009
Priority:Normal Due date:
Assignee:nobu (Nobuyoshi Nakada) % Done:

0%

Category:-
Target version:1.9.2
ruby -v:ruby 1.9.2dev (2009-03-21) [i386-mswin32_90]

Description

The dl tests now pass again on windows (thanks!).

However, instead of getting the runtime library name from the dll name, it seems more appropriate to use the site-arch config setting.

Patch attached.

test_base.patch (536 Bytes) cfis (Charlie Savage), 03/22/2009 04:58 pm

History

Updated by nobu (Nobuyoshi Nakada) about 3 years ago

Hi,

At Sun, 22 Mar 2009 16:55:56 +0900,
Charlie Savage wrote in [ruby-core:22990]:
> However, instead of getting the runtime library name from the
> dll name, it seems more appropriate to use the site-arch
> config setting.

What's the reason?

-- 
Nobu Nakada

Updated by cfis (Charlie Savage) about 3 years ago

Two reasons.

First is philosophical. Using "sitearch" seems more apppriate than "RUBY_SO_NAME" - that is the point of sitearch isn't it?

Second is practical.  I continue to hope that I'll be able to convince ruby core that the shared library name on windows should be ruby19.dll (I'll be sending another email soon :).  Therefore RUBY_SO_NAME will no longer work for this.

Charlie

Updated by nobu (Nobuyoshi Nakada) about 3 years ago

Hi,

At Mon, 23 Mar 2009 07:54:54 +0900,
Charlie Savage wrote in [ruby-core:22997]:
> First is philosophical. Using "sitearch" seems more apppriate
> than "RUBY_SO_NAME" - that is the point of sitearch isn't it?

RUBY_SO_NAME is too.

> Second is practical.  I continue to hope that I'll be able to
> convince ruby core that the shared library name on windows
> should be ruby19.dll (I'll be sending another email soon :).
> Therefore RUBY_SO_NAME will no longer work for this.

I had explained why it can't.  Do you have any suggestion for
workaround?

-- 
Nobu Nakada

Updated by cfis (Charlie Savage) about 3 years ago

Hi Nobu,

Let's take the dll naming issue back to ruby-core, I'll post there in the next couple of days.  

I'd still like this test to use sitearch.  Is there any good reason why it can't?

Charlie

Updated by yugui (Yuki Sonoda) almost 3 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)
  • Target version changed from 1.9.1 to 1.9.2

Updated by usa (Usaku NAKAMURA) about 2 years ago

  • Status changed from Open to Rejected

Also available in: Atom PDF