<div dir="ltr">Try passing the directory to start in as the last argument.  Also make sure you include .py on the filename when using -p (I don't actually know if this is required but I do it).  <div><br></div><div>% python dotest.py --executable /tank/emaste/src/llvm/build-nodebug/bin/lldb -C /usr/bin/clang -v -t -p TestCppIncompleteTypes.py ~/src/llvm/tools/lldb/packages/Python/lldbsuite/test<br></div><div><br></div><div>I don't know off the top of my head why that last argument is required, and I agree it's counterintuitive and probably doesn't *need* to be that way for technical reasons.</div><div><br></div><div>LMK if this works</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 9, 2016 at 2:01 PM Ed Maste via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've been away from LLDB development for a little while but am<br>
starting to work on it again.<br>
<br>
I used to run a few tests using dotest.py's -f or -p flags, but they<br>
don't seem to be working now.<br>
<br>
  -f filterspec         Specify a filter, which consists of the test class<br>
                        name, a dot, followed by the test method, to only<br>
                        admit such test into the test suite<br>
  -p pattern            Specify a regexp filename pattern for inclusion in the<br>
                        test suite<br>
<br>
For example, I'd expect this command:<br>
<br>
% python dotest.py --executable<br>
/tank/emaste/src/llvm/build-nodebug/bin/lldb -C /usr/bin/clang -v -t<br>
-p TestCppIncompleteTypes<br>
<br>
to run just the TestCppIncompleteTypes.py test(s), but instead it<br>
looks like it runs the full suite.<br>
<br>
I'd also expect<br>
<br>
% python dotest.py --executable<br>
/tank/emaste/src/llvm/build-nodebug/bin/lldb -C /usr/bin/clang -v -t<br>
-f TestCppIncompleteTypes.test_limit_debug_info<br>
<br>
to run a single test from the same suite, but it runs no tests<br>
("Collected 0 tests").<br>
<br>
I'm sure these options used to work, although this could be an issue<br>
that affects only FreeBSD. Do they work on Linux/OS X?<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
</blockquote></div>