[all-commits] [llvm/llvm-project] 6f6175: [libc++][NFC] Fix copy-paste errors in tests

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Aug 18 05:57:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f6175d1c6d6925d5e0a03cfb07232cf9e530512
      https://github.com/llvm/llvm-project/commit/6f6175d1c6d6925d5e0a03cfb07232cf9e530512
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M libcxx/test/std/atomics/atomics.flag/atomic_flag_test.pass.cpp
    M libcxx/test/std/atomics/atomics.flag/atomic_flag_test_explicit.pass.cpp
    M libcxx/test/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp
    R libcxx/test/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp

  Log Message:
  -----------
  [libc++][NFC] Fix copy-paste errors in tests

The test precision_type.pass.cpp was a duplicate of precision.pass.cpp,
so it is removed. atomic_flag_test.pass.cpp was a duplicate of
atomic_flag_test_and_set.pass.cpp, so instead I wrote a proper
test for it. Those duplicate tests were detected with

     find libcxx ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD




More information about the All-commits mailing list