Commit b0c2f490 authored by Erwan Bousse's avatar Erwan Bousse

Correcting wrong end lines of evaluation scripts and correcting the R script...

Correcting wrong end lines of evaluation scripts and correcting the R script that couldn't parse correctly recently generated csv files
parent 267ac0fd
#!/bin/bash
RARGS=""
for i in "$@"
do
RARGS="$RARGS $i"
done
R --no-save --args $RARGS < ./process-data.R
ls *.pdf | xargs -I '{}' pdfcrop '{}' '{}'
mv *.pdf benchmarktool-workingdir
#!/bin/bash
RARGS=""
for i in "$@"
do
RARGS="$RARGS $i"
done
R --no-save --args $RARGS < ./process-data.R
ls *.pdf | xargs -I '{}' pdfcrop '{}' '{}'
mv *.pdf benchmarktool-workingdir
#!/bin/bash
DIR=`dirname $0`
############### Must point to the folder of the evaluation tool
BENCHTOOLDIR="$DIR/.."
###############
BENCHTOOL="$BENCHTOOLDIR/cloning-benchmark"
TOOL="$BENCHTOOL run nopause"
OUTPUTFOLDER=./benchmarktool-workingdir
# Parsing arguments (osgi bundles) in order to generate an argument for the evaluation tool
BUNDLES=""
for arg in "$@"
do
BUNDLES="$BUNDLES$arg,"
done
# To reset registered OSGi bundles
rm -rf "$BENCHTOOLDIR/configuration/org.eclipse.osgi"
$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 1 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal1.csv --dumpsFolder=/tmp2/cloningDumpsAll
#$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 10 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal10.csv --dumpsFolder=/tmp2/cloningDumpsAll
#$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 100 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal100.csv --dumpsFolder=/tmp2/cloningDumpsAll
$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 1000 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal1000.csv --dumpsFolder=/tmp2/cloningDumpsAll
#$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 10000 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal10000.csv --dumpsFolder=/tmp2/cloningDumpsAll
#!/bin/bash
DIR=`dirname $0`
############### Must point to the folder of the evaluation tool
BENCHTOOLDIR="$DIR/.."
###############
BENCHTOOL="$BENCHTOOLDIR/cloning-benchmark"
TOOL="$BENCHTOOL run nopause"
OUTPUTFOLDER=./benchmarktool-workingdir
# Parsing arguments (osgi bundles) in order to generate an argument for the evaluation tool
BUNDLES=""
for arg in "$@"
do
BUNDLES="$BUNDLES$arg,"
done
# To reset registered OSGi bundles
rm -rf "$BENCHTOOLDIR/configuration/org.eclipse.osgi"
#$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 1 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal1.csv --dumpsFolder=/tmp2/cloningDumpsAll
#$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 10 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal10.csv --dumpsFolder=/tmp2/cloningDumpsAll
#$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 100 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal100.csv --dumpsFolder=/tmp2/cloningDumpsAll
$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 1000 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal1000.csv --dumpsFolder=/tmp2/cloningDumpsAll
#$TOOL --benchmarkMetamodels=$BUNDLES --nbClones 10000 --nbtries 5 --outputFile $OUTPUTFOLDER/resultsFinal10000.csv --dumpsFolder=/tmp2/cloningDumpsAll
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment