From 1556b3ad7d96ff4a54101f6b8fbdc1738da6667e Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Mon, 21 Oct 2019 19:52:06 +0200 Subject: classify: tests to support python3 Type: fix Signed-off-by: Ole Troan Change-Id: I8af6ee6e5239f0836978baa063a18a01c610279f --- test/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/run_tests.py') diff --git a/test/run_tests.py b/test/run_tests.py index e6a182c016b..b6c178f234f 100644 --- a/test/run_tests.py +++ b/test/run_tests.py @@ -760,7 +760,7 @@ if __name__ == '__main__': % (min_req_shm >> 20)) else: extra_shm = shm_free - min_req_shm - shm_max_processes += extra_shm / shm_per_process + shm_max_processes += extra_shm // shm_per_process concurrent_tests = min(cpu_count(), shm_max_processes) print('Found enough resources to run tests with %s cores' % concurrent_tests) -- cgit 1.2.3-korg