[test] Add dotest wrapper
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 5 Mar 2018 10:03:44 +0000 (10:03 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 5 Mar 2018 10:03:44 +0000 (10:03 +0000)
commita52cb80db6b6d7429e9364c2d852b51d051464bf
tree15b432b373719246ee366dbb161fbabc17427478
parent7b91e2133e01026b12e71c8e4aa1dfe43cd8d24a
[test] Add dotest wrapper

This adds a wrapper around dotest, similar to llvm-lit in llvm. The
wrapper is created in the binary directory, next to LLDB and allows you
to invoke dotest without having to pass any of the configuration
arguments yourself. I think this could also be useful for re-running a
particular test case when it fails, as an alternative to "Command
Invoked".

The motivation for this is that I'd like to replace the driver part of
dotest with lit. As a first step, I'd like to have lit invoke dotest,
which would just run the complete test suite, completely identical to
what the CMake target does today. Once this is in place, we can have lit
run dotest for the different test directories, and ultimately once per
python file. Along the way we can strip out driver functionality from
dotest where appropriate.

https://reviews.llvm.org/D44002

llvm-svn: 326687
lldb/test/CMakeLists.txt
lldb/test/llvm-dotest.in [new file with mode: 0755]