40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
|
From 931f3c196905e6fb85123a3a1e4c3809e523ec3a Mon Sep 17 00:00:00 2001
|
||
|
Date: Mon, 4 Dec 2017 16:12:18 +0300
|
||
|
Subject: [PATCH] sleep after test
|
||
|
|
||
|
---
|
||
|
tests/run_tests.py | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/tests/run_tests.py b/tests/run_tests.py
|
||
|
index d9a6b35..400b8d4 100755
|
||
|
--- a/tests/run_tests.py
|
||
|
+++ b/tests/run_tests.py
|
||
|
@@ -6,6 +6,7 @@ import os
|
||
|
import sys
|
||
|
import getopt
|
||
|
import resource
|
||
|
+import time
|
||
|
|
||
|
# The superset of wordsizes that should be tested (default 32, 64)
|
||
|
wordsizes = set()
|
||
|
@@ -329,6 +330,7 @@ def run_test(pagesize, bits, cmd, **env):
|
||
|
elif rc == 4: R["xpass"][pagesize][bits] += 1
|
||
|
elif rc < 0: R["signal"][pagesize][bits] += 1
|
||
|
else: R["strange"][pagesize][bits] += 1
|
||
|
+ time.sleep(5)
|
||
|
|
||
|
def skip_test(pagesize, bits, cmd, **env):
|
||
|
"""
|
||
|
@@ -533,6 +535,7 @@ def functional_tests():
|
||
|
do_test("map_high_truncate_2")
|
||
|
do_test("misaligned_offset")
|
||
|
do_test("truncate_above_4GB")
|
||
|
+ time.sleep(10)
|
||
|
do_test("brk_near_huge")
|
||
|
do_test("task-size-overrun")
|
||
|
do_test_with_rlimit(resource.RLIMIT_STACK, -1, "stack_grow_into_huge")
|
||
|
--
|
||
|
2.16.4
|
||
|
|