Cleanup manifest file left by test script when using VC8
authorSteve Hay <SteveHay@planit.com>
Fri, 24 Nov 2006 15:44:23 +0000 (15:44 +0000)
committerSteve Hay <SteveHay@planit.com>
Fri, 24 Nov 2006 15:44:23 +0000 (15:44 +0000)
p4raw-id: //depot/perl@29375

lib/ExtUtils/t/Embed.t

index a7ebaa2..629dafb 100644 (file)
@@ -143,6 +143,7 @@ print "# embed_test = $embed_test\n";
 $status = system($embed_test);
 print (($status? 'not ':'')."ok 9 # system returned $status\n");
 unlink($exe,"embed_test.c",$obj);
+unlink("$exe.manifest") if $cl and $Config{'ccversion'} =~ /^(\d+)/ and $1 >= 14;
 unlink("$exe$Config{exe_ext}") if $skip_exe;
 unlink("embed_test.map","embed_test.lis") if $^O eq 'VMS';
 unlink(glob("./*.dll")) if $^O eq 'cygwin';