public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/104023] New: Bulk rename of C++ test files to one filename extension ?
@ 2022-01-14  8:06 dcb314 at hotmail dot com
  2022-01-14  8:15 ` [Bug testsuite/104023] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2022-01-14  8:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104023

            Bug ID: 104023
           Summary: Bulk rename of C++ test files to one filename
                    extension ?
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I notice the following in the testsuite:

[/home/dcb/gcc/trunk.git/gcc/testsuite] $ find . -name \*.C -print | wc -l
18461
[/home/dcb/gcc/trunk.git/gcc/testsuite] $ find . -name \*.cc -print | wc -l
168
[/home/dcb/gcc/trunk.git/gcc/testsuite] $ find . -name \*.cpp -print | wc -l
23
[/home/dcb/gcc/trunk.git/gcc/testsuite] $ find . -name \*.cxx -print | wc -l
0
[/home/dcb/gcc/trunk.git/gcc/testsuite] $ 

Would it be a good idea to pick one filename extension for C++ testsuite files
and stick to it ?

Maybe moving to *.C would be cheap, but I notice that the main
parts of the compiler are moving to using *.cc, implying that 
over 18,000 files might have to be moved to *.cc

Just an idea. Given the amount of work involved, it might not be worth it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-24 13:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14  8:06 [Bug testsuite/104023] New: Bulk rename of C++ test files to one filename extension ? dcb314 at hotmail dot com
2022-01-14  8:15 ` [Bug testsuite/104023] " pinskia at gcc dot gnu.org
2022-01-14  8:21 ` rguenth at gcc dot gnu.org
2022-01-14  9:35 ` marxin at gcc dot gnu.org
2022-01-14  9:52 ` marxin at gcc dot gnu.org
2022-01-14 14:25 ` marxin at gcc dot gnu.org
2022-01-14 14:35 ` jakub at gcc dot gnu.org
2022-01-14 14:37 ` jakub at gcc dot gnu.org
2022-01-14 14:41 ` marxin at gcc dot gnu.org
2022-01-24 13:32 ` marxin at gcc dot gnu.org

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).