Browse Source

Give more time to [aul]san tests

Samuel Thibault 5 years ago
parent
commit
0eb85bf6ad
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/loader.c

+ 3 - 3
tests/loader.c

@@ -40,7 +40,7 @@
 #define  DEFAULT_TIMEOUT       300
 #else
 /* Long checks can be very long */
-#define  DEFAULT_TIMEOUT       1800
+#define  DEFAULT_TIMEOUT       1000
 #endif
 #define  AUTOTEST_SKIPPED_TEST 77
 
@@ -256,11 +256,11 @@ int main(int argc, char *argv[])
 		if ((launcher && strstr(launcher, "valgrind")) ||
 		    (launcher && strstr(launcher, "helgrind")) ||
 		    getenv("TSAN_OPTIONS") != NULL)
-			timeout *= 10;
+			timeout *= 20;
 		if (getenv("ASAN_OPTIONS") != NULL ||
 		    getenv("USAN_OPTIONS") != NULL ||
 		    getenv("LSAN_OPTIONS") != NULL)
-			timeout *= 2;
+			timeout *= 5;
 	}
 
 #ifdef STARPU_SIMGRID