summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/dl/test/test_all.rb11
-rw-r--r--test/dl/test_base.rb (renamed from ext/dl/test/test_base.rb)0
-rw-r--r--test/dl/test_dl2.rb (renamed from ext/dl/test/test_dl2.rb)0
-rw-r--r--test/dl/test_func.rb (renamed from ext/dl/test/test_func.rb)0
-rw-r--r--test/dl/test_import.rb (renamed from ext/dl/test/test_import.rb)0
-rw-r--r--test/dl/test_win32.rb (renamed from ext/dl/test/test_win32.rb)3
7 files changed, 6 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e65099dcb0..d9488a1255b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 3 15:03:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * test/dl: moved from ext/dl/test.
+
Tue Mar 3 14:57:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (main): passes $(MAKE) to mkmain_cmd
diff --git a/ext/dl/test/test_all.rb b/ext/dl/test/test_all.rb
deleted file mode 100644
index fb1f4939f99..00000000000
--- a/ext/dl/test/test_all.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-require 'test_base'
-require 'dl/import'
-
-require 'test_dl2'
-require 'test_func'
-require 'test_import'
-
-case RUBY_PLATFORM
-when /cygwin/, /mingw32/, /mswin32/, /bccwin32/
- require 'test_win32'
-end
diff --git a/ext/dl/test/test_base.rb b/test/dl/test_base.rb
index 11243dfebdb..11243dfebdb 100644
--- a/ext/dl/test/test_base.rb
+++ b/test/dl/test_base.rb
diff --git a/ext/dl/test/test_dl2.rb b/test/dl/test_dl2.rb
index 3c854aea8f4..3c854aea8f4 100644
--- a/ext/dl/test/test_dl2.rb
+++ b/test/dl/test_dl2.rb
diff --git a/ext/dl/test/test_func.rb b/test/dl/test_func.rb
index be937719dfa..be937719dfa 100644
--- a/ext/dl/test/test_func.rb
+++ b/test/dl/test_func.rb
diff --git a/ext/dl/test/test_import.rb b/test/dl/test_import.rb
index 8514f8298ec..8514f8298ec 100644
--- a/ext/dl/test/test_import.rb
+++ b/test/dl/test_import.rb
diff --git a/ext/dl/test/test_win32.rb b/test/dl/test_win32.rb
index b2210287a11..b40e3690d8b 100644
--- a/ext/dl/test/test_win32.rb
+++ b/test/dl/test_win32.rb
@@ -33,6 +33,7 @@ module Win32API
end
end
module_function :get_version_ex
+rescue DL::DLError
end
module DL
@@ -50,4 +51,4 @@ class TestWin32 < TestBase
assert_equal(expect, platform)
end
end
-end
+end if defined?(Win32API::OSVERSIONINFO)