[Lldb-commits] [PATCH] D132642: [lldb] Fix dotest argument order

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 25 13:08:47 PDT 2022


JDevlieghere added inline comments.


================
Comment at: lldb/test/API/CMakeLists.txt:166
 
+set(LLDB_TEST_COMMON_ARGS ${LLDB_TEST_COMMON_ARGS_VAR} CACHE INTERNAL STRING)
+
----------------
Instead of having two variables, why not move this to line 40 and make `LLDB_TEST_COMMON_ARGS` a cached variable and operate directly on that? 


================
Comment at: lldb/test/API/lit.site.cfg.py.in:26
+config.dotest_common_args_str = lit_config.substitute("@LLDB_TEST_COMMON_ARGS@")
+config.dotest_user_cmake_args_str = lit_config.substitute("@LLDB_TEST_USER_ARGS@")
 config.lldb_enable_python = @LLDB_ENABLE_PYTHON@
----------------
Let's omit the `cmake` part, it doesn't really matter where these args come from. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132642



More information about the lldb-commits mailing list