[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1101243: ocaml-multicoretests: FTBFS: Negative test STM Weak HashSet test parallel failed as expected (19 shrink steps):



tags 1101243 patch
thanks

Hi. Based on the comments by the author in github, the test suite
seems to need at least 3 CPUs to run reliably.

Therefore I propose that the attached patch is applied to the Debian package,
which just skips the tests if such condition is not met.

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,6 @@ export RUN_EXPERIMENTAL_TESTS=false
 
 %:
 	dh $@ --with ocaml --buildsystem ocaml_dune
+
+override_dh_auto_test:
+	[ $$(nproc) -lt 3 ] || dh_auto_test

Reply to: