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.

Reply via email to