#!/bin/bash

# =========================================
# include subroutines
# =========================================

if [ ! -f subroutines ]; then
	echo "Cannot find subroutines in current directory. Cannot continue."
	exit;
fi
. subroutines

# =========================================
# main loop
# =========================================

STARTMESSAGE;
CHECK_BENCHMARK;
cd $PCW_BENCHMARK_HOME_DIRECTORY

# start run
DELETE_DB;
CONFIG_DB;
CREATE_DB;
LOAD_DB;
INDEX_DB;
PRECHECK_DB;
RUN_MIXES;
ENDMESSAGE;

# =========================================
# end
# =========================================

