From d7d8af34a01ce158ea06abafe87aec3dbe920454 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Mon, 21 Sep 2015 10:58:51 +0200 Subject: [PATCH] preprocessor: remove create_timing_csv.sh (moved to testsuite.git) --- tests/Makefile.am | 2 -- tests/create_timing_csv.sh | 22 ---------------------- 2 files changed, 24 deletions(-) delete mode 100755 tests/create_timing_csv.sh diff --git a/tests/Makefile.am b/tests/Makefile.am index 29333b870..1241bbaa4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -467,12 +467,10 @@ check-local: $(TARGETS) check-matlab: $(M_XFAIL_TRS_FILES) $(M_TRS_FILES) ./read_trs_files.sh "$(M_TRS_FILES)" "$(M_XFAIL_TRS_FILES)" - ./create_timing_csv.sh "$(M_TRS_FILES)" "$(M_XFAIL_TRS_FILES)" @echo 'Matlab Tests Done' check-octave: $(O_XFAIL_TRS_FILES) $(O_TRS_FILES) ./read_trs_files.sh "$(O_TRS_FILES)" "$(O_XFAIL_TRS_FILES)" - ./create_timing_csv.sh "$(O_TRS_FILES)" "$(O_XFAIL_TRS_FILES)" @echo 'Octave Tests Done' %.m.trs %.m.log: %.mod diff --git a/tests/create_timing_csv.sh b/tests/create_timing_csv.sh deleted file mode 100755 index 7f8af800c..000000000 --- a/tests/create_timing_csv.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -DATE=`date +%Y%m%d` -if [[ `uname` == 'Linux' ]]; then - CSVDIR="/home/$USER/testSuiteTiming" -else - CSVDIR="/Users/$USER/testSuiteTiming" -fi - -if [ ! -d $CSVDIR ]; then - mkdir -p $CSVDIR -fi - -for file in $1 $2; do - time=`grep cputime $file | cut -d: -f3 | sed -e 's/^[[:space:]]*//' | sed -e 's/[[:space:]]*$//'` - csvfile=`echo $file | sed 's/\//-/g' | sed 's/\.trs$/\.csv/g'` - if [ ! -f $CSVDIR/$csvfile ]; then - name=`echo $file | sed 's/\.m\.trs$/.mod/g' | sed 's/\.o\.trs$/.mod/g'` - echo "DATE,$name" > $CSVDIR/$csvfile - fi - echo $DATE,$time >> $CSVDIR/$csvfile -done