Home
last modified time | relevance | path

Searched refs:max_runtime (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/ltp/lib/newlib_tests/shell/
Dtest_timeout.sh117 max_runtime=$(echo $d | cut -d'|' -f4 | xargs)
118 max_runtime=${max_runtime:--1}
140 if [ $max_runtime -ne -1 ] && [ $test_duration -gt $max_runtime ]; then
141 echo "FAILED (runtime: $test_duration, expected less than $max_runtime)"
/third_party/ltp/lib/
Dtst_test.c71 int max_runtime; member
495 static int multiply_runtime(int max_runtime) in multiply_runtime() argument
499 if (max_runtime <= 0) in multiply_runtime()
500 return max_runtime; in multiply_runtime()
504 return max_runtime * runtime_mul; in multiply_runtime()
542 if (tst_test->max_runtime) { in print_help()
543 runtime = multiply_runtime(tst_test->max_runtime); in print_help()
690 if (tst_test->max_runtime > 0) in parse_opts()
691 tst_test->max_runtime = SAFE_STRTOL(optarg, 1, INT_MAX); in parse_opts()
1143 if (tst_test->max_runtime < -1) { in do_setup()
[all …]
/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
Dset_mempolicy01.c46 tst_set_max_runtime(test.max_runtime * (1 << nodes->cnt/16)); in setup()
122 .max_runtime = 600,
/third_party/ltp/doc/
DUser-Guidelines.asciidoc50 The limit on how long a test can run does compose of two parts max_runtime and
55 The max_runtime is a cap on how long the run() function can take, for most
57 second or two the max_runtime has to be defined and the run() function has to
/third_party/ltp/include/
Dtst_test.h283 int max_runtime; member
369 void tst_set_max_runtime(int max_runtime);
/third_party/ltp/lib/newlib_tests/
Dtest_runtime02.c27 .max_runtime = 5,
Dtest_runtime01.c28 .max_runtime = 4,
/third_party/ltp/testcases/kernel/mem/oom/
Doom01.c55 .max_runtime = TST_UNLIMITED_RUNTIME,
Doom02.c64 .max_runtime = TST_UNLIMITED_RUNTIME,
Doom04.c85 .max_runtime = TST_UNLIMITED_RUNTIME,
Doom03.c89 .max_runtime = TST_UNLIMITED_RUNTIME,
Doom05.c107 .max_runtime = TST_UNLIMITED_RUNTIME,
/third_party/ltp/testcases/kernel/crypto/
Dpcrypt_aead01.c78 .max_runtime = 300,
Daf_alg02.c80 .max_runtime = 20,
/third_party/ltp/testcases/kernel/syscalls/readahead/
Dreadahead02.c333 tst_set_max_runtime(test.max_runtime + (usec + usec_ra) / 1000000); in test_readahead()
425 .max_runtime = 30,
/third_party/ltp/testcases/kernel/syscalls/gettimeofday/
Dgettimeofday02.c75 .max_runtime = 10,
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify09.c97 .max_runtime = 150,
/third_party/ltp/testcases/kernel/mem/ksm/
Dksm02.c117 .max_runtime = 32,
Dksm04.c119 .max_runtime = 32,
/third_party/ltp/testcases/kernel/pty/
Dpty06.c100 .max_runtime = 150,
Dpty05.c100 .max_runtime = 150,
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork13.c113 .max_runtime = 600,
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open03.c111 .max_runtime = 300,
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl05.c109 .max_runtime = 10,
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_append.c96 .max_runtime = 1800,

1234