]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/40-threads.t
Output threads and threads::shared versions in threads tests
[perl/modules/Variable-Magic.git] / t / 40-threads.t
index 67afabb606656fcc5e23c8ee568deae42befec1e..2482e61f6dd0fea1f11111a6cdb10ece9af1dfa3 100644 (file)
@@ -22,6 +22,10 @@ use Variable::Magic qw/wizard cast dispell getdata VMG_THREADSAFE/;
 
 if (VMG_THREADSAFE) {
  plan tests => 2 * (2 * 16 + 1) + 2 * (2 * 11 + 1);
+ my $v = $threads::VERSION;
+ diag "Using threads $v" if defined $v;
+ $v = $threads::shared::VERSION;
+ diag "Using threads::shared $v" if defined $v;
 } else {
  plan skip_all => 'This Variable::Magic isn\'t thread safe';
 }