svn commit: r337381 - head/contrib/netbsd-tests/lib/libpthread
Ruslan Bukin
br at FreeBSD.org
Mon Aug 6 15:55:59 UTC 2018
Author: br
Date: Mon Aug 6 15:55:58 2018
New Revision: 337381
URL: https://svnweb.freebsd.org/changeset/base/337381
Log:
Increase timeout for timedmutex_test:mutex2, timedmutex_test:mutex3
tests.
Default value is 300. It takes ~310s to complete each of these tests
in QEMU/RISC-V.
Sponsored by: DARPA, AFRL
Modified:
head/contrib/netbsd-tests/lib/libpthread/t_mutex.c
Modified: head/contrib/netbsd-tests/lib/libpthread/t_mutex.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libpthread/t_mutex.c Mon Aug 6 15:21:46 2018 (r337380)
+++ head/contrib/netbsd-tests/lib/libpthread/t_mutex.c Mon Aug 6 15:55:58 2018 (r337381)
@@ -153,6 +153,12 @@ ATF_TC_HEAD(mutex2, tc)
atf_tc_set_md_var(tc, "timeout", "40");
#endif
#endif
+
+#ifdef __FreeBSD__
+#if defined(__riscv)
+ atf_tc_set_md_var(tc, "timeout", "600");
+#endif
+#endif
}
ATF_TC_BODY(mutex2, tc)
{
@@ -228,6 +234,12 @@ ATF_TC_HEAD(mutex3, tc)
#ifdef __NetBSD__
#if defined(__powerpc__)
atf_tc_set_md_var(tc, "timeout", "40");
+#endif
+#endif
+
+#ifdef __FreeBSD__
+#if defined(__riscv)
+ atf_tc_set_md_var(tc, "timeout", "600");
#endif
#endif
}
More information about the svn-src-all
mailing list