[compiler-rt] a31426d - [asan][test] Fix typo in Unit/lit.site.cfg.py.in

Rainer Orth via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 22:50:58 PDT 2022


Author: Rainer Orth
Date: 2022-08-27T07:50:18+02:00
New Revision: a31426dc87ae60225d7e266257de3490a0147d75

URL: https://github.com/llvm/llvm-project/commit/a31426dc87ae60225d7e266257de3490a0147d75
DIFF: https://github.com/llvm/llvm-project/commit/a31426dc87ae60225d7e266257de3490a0147d75.diff

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

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`.

Differential Revision: https://reviews.llvm.org/D132736

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/Unit/lit.site.cfg.py.in b/compiler-rt/test/asan/Unit/lit.site.cfg.py.in
index 8a469546734a7..638e1dedfc1d2 100644
--- a/compiler-rt/test/asan/Unit/lit.site.cfg.py.in
+++ b/compiler-rt/test/asan/Unit/lit.site.cfg.py.in
@@ -21,11 +21,11 @@ def push_ld_library_path(config, new_path):
   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'


        


More information about the llvm-commits mailing list