Author: bernhard
Date: Tue May  1 07:11:37 2007
New Revision: 18371

Removed:
   trunk/languages/dotnet/src/builtins.pir
Modified:
   trunk/MANIFEST
   trunk/MANIFEST.SKIP
   trunk/languages/dotnet/config/Makefile.in
   trunk/t/codingstd/pir_code_coda.t

Log:
[dotnet]
#42533: [TODO] do not check PIR coda for languages/dotnet/src/builtins.pir
Do not check non-existent or apparenty auto-generatef PIR files.
Remove languages/dotnet/src/builtins.pir from SVN.

Courtesy of Mark Glines <[EMAIL PROTECTED]>
Add explicit dependencies of src/builtins.pir in Makefile.in.


Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST      (original)
+++ trunk/MANIFEST      Tue May  1 07:11:37 2007
@@ -1,7 +1,7 @@
 # ex: set ro:
 # $Id$
 #
-# generated by tools/dev/mk_manifest_and_skip.pl Wed Apr 25 19:30:59 2007 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Tue May  1 13:55:00 2007 UT
 #
 # See tools/dev/install_files.pl for documentation on the
 # format of this file.
@@ -1207,7 +1207,6 @@
 languages/dotnet/pmc/structures.h                           [dotnet]
 languages/dotnet/pmc/tableinfo.h                            [dotnet]
 languages/dotnet/pmc/uint64.pmc                             [dotnet]
-languages/dotnet/src/builtins.pir                           [dotnet]
 languages/dotnet/src/exception.pir                          [dotnet]
 languages/dotnet/src/field.pir                              [dotnet]
 languages/dotnet/src/internal.methods                       [dotnet]

Modified: trunk/MANIFEST.SKIP
==============================================================================
--- trunk/MANIFEST.SKIP (original)
+++ trunk/MANIFEST.SKIP Tue May  1 07:11:37 2007
@@ -1,6 +1,6 @@
 # ex: set ro:
 # $Id$
-# generated by tools/dev/mk_manifest_and_skip.pl Wed Apr 25 19:30:59 2007 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Tue May  1 13:55:00 2007 UT
 #
 # This file should contain a transcript of the svn:ignore properties
 # of the directories in the Parrot subversion repository. (Needed for

Modified: trunk/languages/dotnet/config/Makefile.in
==============================================================================
--- trunk/languages/dotnet/config/Makefile.in   (original)
+++ trunk/languages/dotnet/config/Makefile.in   Tue May  1 07:11:37 2007
@@ -75,10 +75,12 @@
          --output src/it.pir
        $(PARROT) -o src/it.pbc src/it.pir
 
-src/builtins.pbc : src/internal.methods build/builtins.pl
-       $(PERL) build/builtins.pl src/internal.methods --output src/builtins.pir
+src/builtins.pbc : src/builtins.pir
        $(PARROT) -o src/builtins.pbc src/builtins.pir
 
+src/builtins.pir : src/internal.methods build/builtins.pl
+       $(PERL) build/builtins.pl src/internal.methods --output src/builtins.pir
+
 src/translib.pbc : src/it.pbc src/builtins.pbc $(TRAN_PBC)
        $(PBCMERGE) -o src/translib.pbc $(TRAN_PBC) src/it.pbc src/builtins.pbc
 

Modified: trunk/t/codingstd/pir_code_coda.t
==============================================================================
--- trunk/t/codingstd/pir_code_coda.t   (original)
+++ trunk/t/codingstd/pir_code_coda.t   Tue May  1 07:11:37 2007
@@ -54,6 +54,7 @@
     # otherwise, use the relevant Parrot:: path method
     my $path = @ARGV ? $file : $file->path;
 
+    next unless -f $path;
     # slurp in the file
     open( my $fh, '<', $path )
         or die "Cannot open '$path' for reading: $!\n";
@@ -62,6 +63,9 @@
         $buf = <$fh>;
     }
 
+    # skip autogenerated files (based on the first line of the file)
+    next if(index($buf, "# THIS IS A GENERATED FILE! DO NOT EDIT!") == 0);
+
     # append to the no_coda array if the code doesn't match
     push @no_coda => "$path\n"
         unless $buf =~ m{\Q$coda\E\n*\z};

Reply via email to