~sfeole/charms/trusty/autotest/trunk

« back to all changes in this revision

Viewing changes to actions/dbench

  • Committer: Michael Reed
  • Date: 2015-11-16 05:57:01 UTC
  • Revision ID: mreed8855@gmail.com-20151116055701-rz3gj9tfgzk5mc66
Initial Charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
set -e
 
4
 
 
5
# We're just sourcing the central benchmark, typically people will just put
 
6
# their benchmarks in one file.
 
7
. actions/benchmark
 
8
 
 
9
run_benchmark dbench
 
10
 
 
11
# Parse the results
 
12
LOG_RESULTS_DIR=`cat $CHARM_DIR/.tmp/current_test_path.txt`
 
13
LOG_RESULTS=$LOG_RESULTS_DIR"/default/dbench/results/keyval"
 
14
cat $LOG_RESULTS | python $CHARM_DIR/actions/dbench2json.py
 
15
 
 
16
# /tmp/current_test_path.txt