6adb63b915
date: 2026-06-04T09:49:56 master commit: c0ab3550eca2e9daf197c46b7e4b24aa9637cf2e
17 lines
406 B
Python
17 lines
406 B
Python
from extra.hcqfuzz.spec import TestSpec
|
|
import random
|
|
|
|
class TLSFAllocator(TestSpec):
|
|
def prepare(self, dev, seed):
|
|
random.seed(seed)
|
|
|
|
self.env = {
|
|
"SEED": seed,
|
|
"ITERS": random.randint(10000, 1000000),
|
|
}
|
|
|
|
self.cmd = "python3 test/external/external_fuzz_tlsf.py"
|
|
self.timeout = 60 * 60 # 60 minutes
|
|
|
|
def get_exec_state(self): return self.env, self.cmd, self.timeout
|