[PATCH] D132736: [asan][test] Fix typo in Unit/lit.site.cfg.py.in

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 06:07:31 PDT 2022


ro created this revision.
ro added a reviewer: vitalybuka.
ro added a project: Sanitizers.
Herald added subscribers: Enna1, fedor.sergeev, krytarowski, arichardson, emaste.
Herald added a project: All.
ro requested review of this revision.
Herald added a subscriber: Sanitizers.

I noticed that `test/asan/Unit/lit.site.cfg.py.in` contains two typos, using the FreeBSD forms of the `LD_*LIBRARY_PATH*` variables on Solaris.

Tested on `amd64-pc-solaris2.11`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132736

Files:
  compiler-rt/test/asan/Unit/lit.site.cfg.py.in


Index: compiler-rt/test/asan/Unit/lit.site.cfg.py.in
===================================================================
--- compiler-rt/test/asan/Unit/lit.site.cfg.py.in
+++ compiler-rt/test/asan/Unit/lit.site.cfg.py.in
@@ -21,11 +21,11 @@
   if platform.system() == 'SunOS':
     new_ld_library_path_32 = os.path.pathsep.join(
       (new_path, config.environment.get('LD_LIBRARY_PATH_32', '')))
-    config.environment['LD_32_LIBRARY_PATH'] = new_ld_library_path_32
+    config.environment['LD_LIBRARY_PATH_32'] = new_ld_library_path_32
 
     new_ld_library_path_64 = os.path.pathsep.join(
       (new_path, config.environment.get('LD_LIBRARY_PATH_64', '')))
-    config.environment['LD_64_LIBRARY_PATH'] = new_ld_library_path_64
+    config.environment['LD_LIBRARY_PATH_64'] = new_ld_library_path_64
 
 # Setup config name.
 config.name = 'AddressSanitizer-Unit'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132736.455884.patch
Type: text/x-patch
Size: 868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220826/ed2e3861/attachment.bin>


More information about the llvm-commits mailing list