diff options
author | Enrico Granata <egranata@apple.com> | 2013-04-15 23:52:53 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2013-04-15 23:52:53 +0000 |
commit | 6f2b4807ee16e6b3fdc794858823c81811a46655 (patch) | |
tree | 604c37116d93a988835841076b8b205ca0e61900 /lldb/tools/lldb-perf/lib/TestCase.cpp | |
parent | a75418dbd635f5ef9b2eccb9918118e1a905cd71 (diff) | |
download | bcm5719-llvm-6f2b4807ee16e6b3fdc794858823c81811a46655.tar.gz bcm5719-llvm-6f2b4807ee16e6b3fdc794858823c81811a46655.zip |
New CallNext action for the test case that causes the next action in the sequence to be called right away
llvm-svn: 179578
Diffstat (limited to 'lldb/tools/lldb-perf/lib/TestCase.cpp')
-rw-r--r-- | lldb/tools/lldb-perf/lib/TestCase.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/tools/lldb-perf/lib/TestCase.cpp b/lldb/tools/lldb-perf/lib/TestCase.cpp index b3aef6e8d6e..9d58fa2061d 100644 --- a/lldb/tools/lldb-perf/lib/TestCase.cpp +++ b/lldb/tools/lldb-perf/lib/TestCase.cpp @@ -255,6 +255,7 @@ TestCase::Loop () if (call_test_step) { + do_the_call: if (m_verbose) printf("RUNNING STEP %d\n",m_step); ActionWanted action; @@ -305,6 +306,9 @@ TestCase::Loop () printf("kill\n"); m_process.Kill(); return; + case ActionWanted::Type::eCallNext: + goto do_the_call; + break; } } |