xsdk-examples: use 'parallel=False' with tests - as they may fail with a large '-j'[when used with +cuda] (#31138)

This commit is contained in:
Satish Balay 2022-06-16 20:20:45 +05:30 committed by GitHub
parent ce41b7457b
commit 6f1e3a4ad3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,3 +92,7 @@ def cmake_args(self):
args.append('-DZLIB_LIBRARY_DIR=%s' % spec['zlib'].prefix.lib) args.append('-DZLIB_LIBRARY_DIR=%s' % spec['zlib'].prefix.lib)
return args return args
def check(self):
with working_dir(self.build_directory):
ctest(parallel=False)