diff --git a/clients/drcachesim/tests/offline-pthreads_exit_after_tracing.templatex b/clients/drcachesim/tests/offline-pthreads_exit_after_tracing.templatex new file mode 100644 index 00000000000..575399fbcc8 --- /dev/null +++ b/clients/drcachesim/tests/offline-pthreads_exit_after_tracing.templatex @@ -0,0 +1,3 @@ +Hit delay threshold: enabling tracing. +Exiting process after .* references. +Trace invariant checks passed diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt index 8d894e8c6a2..1a32e89fa4f 100644 --- a/suite/tests/CMakeLists.txt +++ b/suite/tests/CMakeLists.txt @@ -4308,6 +4308,10 @@ if (BUILD_CLIENTS) if (NOT MSVC) torunonly_drcacheoff(invariant_checker_pthreads ${ci_pthreads_app} "" "@-simulator_type@invariant_checker" "") + torunonly_drcacheoff(pthreads_exit_after_tracing ${ci_pthreads_app} + " -trace_after_instrs 2M -exit_after_tracing 100K" + "@-simulator_type@invariant_checker" + "1000000") endif () # Test the standalone histogram tool.