llvm-project/libcxx/test/std/thread
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
..
futures [libc++] Do not force the use of -Werror in verify tests 2020-03-26 07:54:45 -04:00
thread.barrier [libc++] Adapt a few things around the implementation of P1135R6 2020-02-24 10:59:35 -05:00
thread.condition [libc++] Allow running .sh.cpp tests with SSHExecutors 2020-03-31 15:50:42 -04:00
thread.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.latch [libc++] Adapt a few things around the implementation of P1135R6 2020-02-24 10:59:35 -05:00
thread.mutex [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
thread.req [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
thread.semaphore Some fixes for open breaks on MacOS and UBSan 2020-02-26 20:51:19 -08:00
thread.threads [libc++] Drop custom support for flaky tests from libc++ test suite 2020-03-25 14:41:53 -04:00
macro.pass.cpp libcxx: Define __STDCPP_THREADS__ to 1, not to __cplusplus. 2019-07-30 14:32:47 +00:00