@@ -16,18 +16,18 @@ run_test_with_global_timeout() {
1616 local reference=$3
1717 local config=$4
1818 local global_timeout=$5
19-
20- (.. /biflow_aggregator -i " u:lr,u:ba" -e -c config.xml -n $config -g $global_timeout & ) || true
19+ echo $input $output $reference $config $global_timeout
20+ (./biflow_aggregator/biflow_aggregator -i " u:lr,u:ba" -e -c biflow_aggregator/tests/ config.xml -n $config -g $global_timeout & ) || true
2121 local AGGREGATOR_PID=$!
2222 sleep 0.5
2323 die_if_not_running $AGGREGATOR_PID " Failed to start biflow aggregator"
2424
25- ../.. /logger/logger -w $output -i " u:ba" &
25+ ./logger/logger -w $output -i " u:ba" &
2626 local LOGGER_PID=$!
2727 sleep 0.5
2828 die_if_not_running $LOGGER_PID " Failed to start logger"
2929
30- ../.. /logreplay/logreplay -f $input -i " u:lr" &
30+ ./logreplay/logreplay -f $input -i " u:lr" &
3131 local LOGREPLAY_PID=$!
3232 sleep 0.5
3333 die_if_not_running $LOGREPLAY_PID " Failed to start logreplay"
@@ -47,8 +47,7 @@ run_test_with_global_timeout() {
4747
4848script_path=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd) "
4949pwd
50- cd $script_path
51- pwd
50+ # cd $script_path
5251ls
5352success=" true"
5453
@@ -57,18 +56,18 @@ tmpdir=$(mktemp -d)
5756trap " rm -rf \" $tmpdir \" " EXIT
5857
5958outputs=" $tmpdir /outputs"
60-
59+ echo $outputs
6160mkdir -p " $outputs "
6261
6362
64- for input in inputs/input* ; do
63+ for input in " $script_path " / inputs/input* ; do
6564 basename=$( basename " $input " )
6665 echo Found $basename
6766 if [[ $basename =~ input([0-9]+)_(.+) ]]; then
6867 index=" ${BASH_REMATCH[1]} "
6968 config=" ${BASH_REMATCH[2]} "
70- output=outputs/output$index
71- reference=references/reference$index
69+ output=" $ outputs /output$index "
70+ reference=" $script_path / references/reference$index "
7271 else
7372 echo $input
7473 echo " Incorrect input name. Must be input<index>_<config_name>"
0 commit comments