* [committed] Tweak update-copyright.py so that it doesn't fail on pdt_5.f03
@ 2018-01-03 10:07 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2018-01-03 10:07 UTC (permalink / raw)
To: gcc-patches, Jeff Law; +Cc: Paul Thomas
Hi!
This testcase contains:
! Third, complete example from the PGInsider article:
! "Object-Oriented Programming in Fortran 2003 Part 3: Parameterized Derived Types"
! by Mark Leair
!
! Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
!
! NVIDIA CORPORATION and its licensors retain all intellectual property
! and proprietary rights in and to this software, related documentation
! and any modifications thereto. Any use, reproduction, disclosure or
! distribution of this software and related documentation without an express
! license agreement from NVIDIA CORPORATION is strictly prohibited.
!
! THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT
! WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT
! NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
! FITNESS FOR A PARTICULAR PURPOSE.
!
! Note that modification had to be made all of which are commented.
which makes me wonder if it shouldn't be removed. So that I could update
the copyright years, I've committed following workaround for that, but if
the testcase is removed or rewritten that can go away as well.
2018-01-03 Jakub Jelinek <jakub@redhat.com>
* update-copyright.py: Skip pdt-5.f03 in gfortran.dg subdir.
--- contrib/update-copyright.py (revision 256167)
+++ contrib/update-copyright.py (revision 256168)
@@ -591,6 +591,8 @@ class TestsuiteFilter (GenericFilter):
# Similarly params/README.
if filename == 'README' and os.path.basename (dir) == 'params':
return True
+ if filename == 'pdt_5.f03' and os.path.basename (dir) == 'gfortran.dg':
+ return True
return GenericFilter.skip_file (self, dir, filename)
class LibCppFilter (GenericFilter):
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-03 10:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-03 10:07 [committed] Tweak update-copyright.py so that it doesn't fail on pdt_5.f03 Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).