[all-commits] [llvm/llvm-project] b7578f: [RGT] Tweak test so assertion is always executed

Paul T Robinson via All-commits all-commits at lists.llvm.org
Fri Apr 9 08:11:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7578f9d5a465ae1c061ccfbe3cf2a5265785f87
      https://github.com/llvm/llvm-project/commit/b7578f9d5a465ae1c061ccfbe3cf2a5265785f87
  Author: Paul Robinson <paul.robinson at sony.com>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

  Changed paths:
    M llvm/unittests/Support/ProgramTest.cpp

  Log Message:
  -----------
  [RGT] Tweak test so assertion is always executed

Any given Windows system will have only one "system" encoding for
UTF-16 (BE or LE), so the assert for the other one would always
show up as rotten.  Use a common assertion for both paths to avoid
this.




More information about the All-commits mailing list