Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2018 15:55:58 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337381 - head/contrib/netbsd-tests/lib/libpthread
Message-ID:  <201808061555.w76Ftw8G057829@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808061555.w76Ftw8G057829>