aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/multithreading-tests/stress-test/runme.sh
blob: a2aa73d6376d926b90731b298f340a65e0a42c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RunMe & ReadMe
#
# provider.py  will run  flexiprovider and update test.int every second to the POSIX time.
# Additionally, it will change the registry every two seconds.
#
# stress-test takes two int arguments: the number of threads using the first and the second provider.
#
# Compiling: for now, use qmake & make. Sorry.

#xterm -e 'rlwrap ../../../python/context-provide  my.test.provider int test.int 0 int test.int2 0' &
#xterm -e 'rlwrap ../../../python/context-provide  my.test2.provider int test2.int 0 int test2.int2 0' &

xterm -e './provider.py' &
CONTEXT_PROVIDERS=../stress-test/ ./run-test 3 3