This can be used to run tests under GDB/LLDB/Valgrind/qemu-user etc.
A follow-up change will use this flag to enable running all tests under
GDB (printing a backtrace on crashes).
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
libcxx/utils/run.py | ||
---|---|---|
27 | This is like an executor within an executor. Is there a reason why you don't simply write a separate executor that does the things you need? I think it would be good to leave these basic executors simple -- the whole thing was meant to be extended by writing new executors, not by making the existing executors more complex. |
libcxx/utils/run.py | ||
---|---|---|
27 | That would work well for the local executor, but adding the prefix to the ssh executor means I'd also have to duplicate the ssh executor (that's the one I really want this feature for). I feel like adding this command line flag is simpler than duplicating every executor. |
This is like an executor within an executor. Is there a reason why you don't simply write a separate executor that does the things you need?
I think it would be good to leave these basic executors simple -- the whole thing was meant to be extended by writing new executors, not by making the existing executors more complex.