This revision was automatically updated to reflect the committed changes. Closed by commit rG15cacab73f7e: [lldb] [test] Skip Expr/nodefaultlib.cpp test if LD_PRELOAD Is used (authored by mgorny). Herald added a project: LLDB.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107701/new/ https://reviews.llvm.org/D107701 Files: lldb/test/Shell/Expr/nodefaultlib.cpp lldb/test/Shell/lit.cfg.py Index: lldb/test/Shell/lit.cfg.py =================================================================== --- lldb/test/Shell/lit.cfg.py +++ lldb/test/Shell/lit.cfg.py @@ -140,3 +140,6 @@ can_set_dbregs = False if can_set_dbregs: config.available_features.add('dbregs-set') + +if 'LD_PRELOAD' in os.environ: + config.available_features.add('ld_preload-present') Index: lldb/test/Shell/Expr/nodefaultlib.cpp =================================================================== --- lldb/test/Shell/Expr/nodefaultlib.cpp +++ lldb/test/Shell/Expr/nodefaultlib.cpp @@ -2,6 +2,7 @@ // standard library (and mmap-like functions in particular). // REQUIRES: native +// UNSUPPORTED: ld_preload-present // XFAIL: system-linux && !(target-x86 || target-x86_64) // XFAIL: system-netbsd || system-freebsd || system-darwin
Index: lldb/test/Shell/lit.cfg.py =================================================================== --- lldb/test/Shell/lit.cfg.py +++ lldb/test/Shell/lit.cfg.py @@ -140,3 +140,6 @@ can_set_dbregs = False if can_set_dbregs: config.available_features.add('dbregs-set') + +if 'LD_PRELOAD' in os.environ: + config.available_features.add('ld_preload-present') Index: lldb/test/Shell/Expr/nodefaultlib.cpp =================================================================== --- lldb/test/Shell/Expr/nodefaultlib.cpp +++ lldb/test/Shell/Expr/nodefaultlib.cpp @@ -2,6 +2,7 @@ // standard library (and mmap-like functions in particular). // REQUIRES: native +// UNSUPPORTED: ld_preload-present // XFAIL: system-linux && !(target-x86 || target-x86_64) // XFAIL: system-netbsd || system-freebsd || system-darwin
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits