<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>I just switched to using ctest, which is overall much better, but when I run with &#8211;j it often happens that some test suite fails.&nbsp; After investigating I discovered that the failing test is not a unit tests (ie a test with everything mocked out), but an
integration test that is intentionally testing our use of global system resources.&nbsp; The test is failing because a different integration test is also using those global resources and changing states.</div>
<div>&nbsp;</div>
<div>Is there a way to mark tests as using some global resource and thus not able to run in parallel?&nbsp; My current work around is to use -R and -E to run the tests in question separately, but I have enough other tests that don&#8217;t use this global resource that
everything could run in parallel if there was some way to tell ctest to not schedule them together, and thus increase our total test time.&nbsp; This would also scale better than telling every developer who is using ctest the correct -E and -R commands to make things
work.</div>
<div>&nbsp;</div>
<div>Do I open a feature request, or does this already exist?</div>
<div>&nbsp;</div>
</span></font>
</body>
</html>