New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH 5.8.x] ext/DynaLoader/t/XSLoader.t assumes dynamic loading #9490
Comments
From @doughera88On perl-5.8.x @ 34398, compiled without dynamic loading ../ext/DynaLoader/t/XSLoader.... If you build perl without dynamic loading, the error message is different. Inline Patch--- perl-5.8.x/ext/DynaLoader/t/XSLoader.t 2008-09-19 17:03:43.000000000 -0400
+++ perl-5.8.x-andy/ext/DynaLoader/t/XSLoader.t 2008-09-22 13:31:51.760219335 -0400
@@ -52,8 +52,14 @@
"calling XSLoader::load() with no argument" );
eval q{ package Thwack; XSLoader::load('Thwack'); };
-like( $@, q{/^Can't locate loadable object for module Thwack in @INC/},
- "calling XSLoader::load() under a package with no XS part" );
+if ($Config{usedl}) {
+ like( $@, q{/^Can't locate loadable object for module Thwack in @INC/},
+ "calling XSLoader::load() under a package with no XS part" );
+}
+else {
+ like( $@, q{/^Can't load module Thwack, dynamic loading not available in this perl./},
+ "calling XSLoader::load() under a package with no XS part" );
+}
# Now try to load well known XS modules
my $extensions = $Config{'extensions'};
-- Andy Dougherty doughera@lafayette.edu |
From @smpetersOn Mon Sep 22 10:37:31 2008, doughera wrote:
Thanks! I applied this patch as change #34402. Steve Peters |
The RT System itself - Status changed from 'new' to 'open' |
@smpeters - Status changed from 'open' to 'resolved' |
From maddingue@free.frSteve Peters wrote:
Thanks, applied as well. -- Close the world, txEn eht nepO. |
Migrated from rt.perl.org#59208 (status was 'resolved')
Searchable as RT59208$
The text was updated successfully, but these errors were encountered: