[PATCH] D68472: [test] Depend on C.UTF-8 dependency for mri-utf8.test

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 18:51:25 PDT 2019


MaskRay added inline comments.


================
Comment at: llvm/test/tools/llvm-ar/mri-utf8.test:26
+# and linux vs windows. The C.UTF-8 locale is chosen
+RUN: env LANG=C.UTF-8 %python -c "assert open(u'\xA3.txt', 'rb').read() == b'contents\n'"
----------------
Just delete the comments and avoid python.

```
RUN: FileCheck --input-file £.txt --match-full-lines
CHECK: contents
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68472/new/

https://reviews.llvm.org/D68472





More information about the llvm-commits mailing list