rcuja tests: return errors
[userspace-rcu.git] / tests / runja.sh
CommitLineData
f619b0ff
MD
1#!/bin/sh
2
3# TODO: missing tests:
4# - send kill signals during tests to change the behavior between
5# add/remove/random
6# - validate that "nr_leaked" is always 0 in SUMMARY for all tests
7
8# 30 seconds per test
9TIME_UNITS=30
10
11TESTPROG=./test_urcu_ja
12
13#thread multiplier
14THREAD_MUL=1
15
16EXTRA_PARAMS=-v
17
18# ** test update coherency with single-value table
19
20# rw test, single key, add and del randomly, 4 threads
21# key range: init, lookup, and update: 0 to 0
22${TESTPROG} 0 $((4*${THREAD_MUL})) ${TIME_UNITS} -M 1 -N 1 -O 1 ${EXTRA_PARAMS} || exit 1
23
24# rw test, single key, add and del randomly, 2 lookup threads, 2 update threads
25# key range: init, lookup, and update: 0 to 0
26${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -M 1 -N 1 -O 1 ${EXTRA_PARAMS} || exit 1
This page took 0.023131 seconds and 4 git commands to generate.