1#!/bin/sh 2 3profile=${1:-default} 4 5cd $(dirname $0) # Move to test directory 6if [ ! $SCRIPTS_DIR ]; then 7 # assume we're running standalone 8 export SCRIPTS_DIR=../../scripts/ 9fi 10 11. $SCRIPTS_DIR/setenv.sh 12 13# Warning: tests args are now set in profiles 14$SCRIPTS_DIR/run_c_files.sh $profile testpi-0 15 16export LOG_FILE="$LOG_DIR/$LOG_FORMAT-testpi-1.log" 17$SCRIPTS_DIR/run_c_files.sh $profile testpi-1 18PYTHONPATH=../../ python3 parse-testpi1.py $LOG_FILE 2>&1 | tee -a $LOG_FILE 19 20export LOG_FILE="$LOG_DIR/$LOG_FORMAT-testpi-2.log" 21$SCRIPTS_DIR/run_c_files.sh $profile testpi-2 22PYTHONPATH=../../ python3 parse-testpi2.py $LOG_FILE 2>&1 | tee -a $LOG_FILE 23 24export LOG_FILE="$LOG_DIR/$LOG_FORMAT-testpi-4.log" 25$SCRIPTS_DIR/run_c_files.sh $profile testpi-4 26PYTHONPATH=../../ python3 parse-testpi1.py $LOG_FILE 2>&1 | tee -a $LOG_FILE 27 28 29export LOG_FILE="" 30$SCRIPTS_DIR/run_c_files.sh $profile testpi-5 31$SCRIPTS_DIR/run_c_files.sh $profile testpi-6 32$SCRIPTS_DIR/run_c_files.sh $profile sbrk_mutex 33