llvm-project/libcxx/test/std/algorithms/alg.modifying.operations
Louis Dionne aaaa25e23d [libc++] Remove useless nothing_to_do.pass.cpp tests
The testing script used to test libc++ historically did not like directories
without any testing files, so these tests had been added. Since this is
not necessary anymore, we can now remove these files. This has the benefit
that the total number of tests reflects the real number of tests more
closely, and we also skip some unnecessary work (especially relevant when
running tests over SSH).

However, some nothing_to_do.pass.cpp tests actually serve the purpose of
documenting that an area of the Standard doesn't need to be tested, or is
tested elsewhere. These files are not removed by this commit.

Removal done with:

  import os
  import itertools
  for (dirpath, dirnames, filenames) in itertools.chain(os.walk('./libcxx/test'),
                                                        os.walk('./libcxxabi/test')):
      if len(filenames + dirnames) > 1 and \
         any(p == 'nothing_to_do.pass.cpp' for p in filenames):
          os.remove(os.path.join(dirpath, 'nothing_to_do.pass.cpp'))
2020-04-03 13:48:34 -04:00
..
alg.copy [libc++] Fixed copy/copy_n/copy_backward for compilers that do not support is_constant_evaluated. 2019-11-07 12:39:10 +00:00
alg.fill libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
alg.generate libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
alg.move Support tests in freestanding 2019-02-04 20:31:13 +00:00
alg.partitions libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
alg.random.sample Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
alg.random.shuffle [libc++] Enable deprecation warnings by default 2019-03-12 20:10:06 +00:00
alg.remove [libcxx] [test] Add casts to avoid signed/unsigned mismatch warnings on MSVC++ 2020-01-14 01:11:10 -08:00
alg.replace Support tests in freestanding 2019-02-04 20:31:13 +00:00
alg.reverse [libcxx] [test] Add casts to avoid signed/unsigned mismatch warnings on MSVC++ 2020-01-14 01:11:10 -08:00
alg.rotate Support tests in freestanding 2019-02-04 20:31:13 +00:00
alg.swap This patch makes swap functions constexpr. Both swap overloads, swap_ranges and iter_swap are updated (with tests). 2019-07-05 20:13:34 +00:00
alg.transform Support tests in freestanding 2019-02-04 20:31:13 +00:00
alg.unique Support tests in freestanding 2019-02-04 20:31:13 +00:00