Commit b50ebe2e authored by Martin Karsten's avatar Martin Karsten

- updates to testsuite.sh

parent 4aa7d5ae
Pipeline #40122 passed with stage
in 3 minutes and 34 seconds
......@@ -32,20 +32,7 @@ function post() {
git checkout src/runtime-glue/testoptions.h
}
function prep_0() {
true
}
function run_0() {
./apps/threadtest || exit 1
}
function prep_1() {
sed -i -e 's/.*TESTING_PROCESSOR_POLLER.*/#define TESTING_PROCESSOR_POLLER 1/'
echo memcached
}
function run_1() {
function run_memcached() {
touch memcached.running
while [ -f memcached.running ]; do
taskset -c $svbot-$svtop memcached/memcached -t $count -b 16384 -c 32768 -m 10240 -o hashpower=24
......@@ -67,6 +54,24 @@ function run_1() {
rm -f memcached.running
}
function prep_0() {
echo memcached
}
function run_0() {
./apps/threadtest || exit 1
run_memcached
}
function prep_1() {
sed -i -e 's/.*TESTING_PROCESSOR_POLLER.*/#define TESTING_PROCESSOR_POLLER 1/'
echo memcached
}
function run_1() {
run_memcached
}
for ((e=0;e<2;e+=1)); do
addon=$(prep_$e)
pre $addon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment