[svn:parrot] r39109 - branches/test_install/t/tools/install

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Sat May 23 20:16:51 UTC 2009


Author: jkeenan
Date: Sat May 23 20:16:50 2009
New Revision: 39109
URL: https://trac.parrot.org/parrot/changeset/39109

Log:
Add test for a 'runtime/parrot' file.

Modified:
   branches/test_install/t/tools/install/overall.t

Modified: branches/test_install/t/tools/install/overall.t
==============================================================================
--- branches/test_install/t/tools/install/overall.t	Sat May 23 20:12:58 2009	(r39108)
+++ branches/test_install/t/tools/install/overall.t	Sat May 23 20:16:50 2009	(r39109)
@@ -39,6 +39,7 @@
     }
 
     my $includedir = File::Spec->catdir( $prefixdir, 'include' );
+    my $libdir = File::Spec->catdir( $prefixdir, 'lib' );
     my $docdir = File::Spec->catdir( $prefixdir, 'share', 'doc' );
     my $versiondir = $PConfig{versiondir};
 
@@ -58,6 +59,11 @@
             end     => File::Spec->catfile(
                         $includedir, $versiondir, 'parrot', 'charset.h' ),
         },
+        'runtime/parrot/include/sockets.pasm' => {
+            start   => File::Spec->catfile( qw| . runtime parrot include sockets.pasm | ),
+            end     => File::Spec->catfile(
+                        $libdir, $versiondir, 'include', 'sockets.pasm' ),
+        },
     );
     chdir $builddir or croak "Unable to change to tempdir for testing: $!";
     my $man_quasi = File::Spec->catfile( $builddir, 'MANIFEST' );
@@ -71,6 +77,7 @@
         src
         docs
         include/parrot
+        runtime/parrot/include
     );
     my @created =
         mkpath( map { File::Spec->catdir( $builddir, $_ ) } @dirs_needed );
@@ -82,6 +89,7 @@
     }
     my $cmd = qq{$^X $full_installer --prefix=$prefixdir};
     $cmd .= qq{ --includedir=$includedir};
+    $cmd .= qq{ --libdir=$libdir};
     $cmd .= qq{ --versiondir=$versiondir};
     $cmd .= qq{ --docdir=$docdir};
     $cmd .= qq{ MANIFEST MANIFEST.generated};


More information about the parrot-commits mailing list