oec-hardware/oec-hardware-1.1.5-5-fix-cpufreq-userspace.patch
2024-08-14 14:20:33 +08:00

20 lines
498 B
Diff

diff -Naur rpm/tests/compatible/cpufreq/cal.py oech/tests/compatible/cpufreq/cal.py
--- rpm/tests/compatible/cpufreq/cal.py 2024-08-14 11:28:15.885339696 +0800
+++ oech/tests/compatible/cpufreq/cal.py 2024-08-14 11:29:13.689645189 +0800
@@ -14,13 +14,14 @@
import decimal
import time
+COUNT = 10000
def cal():
"""Call test_case"""
decimal.getcontext().prec = 1000
one = decimal.Decimal(1)
- for i in range(1000):
+ for i in range(COUNT):
(i * one).sqrt()