Commit 8158c912 authored by ARDUIN PAUL's avatar ARDUIN PAUL
Browse files

Ajout des premiers shellscripts de test

parent 43f0e0af
#!/bin/bash
TAILLE_TAB="10000 100000 1000000 10000000"
NB_TESTS=5
echo -e "taille\ttest\texectime\tmem"
for list in $TAILLE_LIST
do
RES=""
for tests in `seq 1 $NB_TESTS`
do
RES="$list\t$tests"
RES="$RES`(/usr/bin/time -f "%U\t%M" ./progList $list > /dev/null) 2>&1`"
echo -e "$RES"
done
done
#!/bin/bash
TAILLE_LIST="10000 100000 1000000 10000000"
NB_TESTS=5
echo -e "taille\ttest\texectime\tmem"
for tab in $TAILLE_TAB
do
RES=""
for tests in `seq 1 $NB_TESTS`
do
RES="$tab\t$tests"
RES="$RES`(/usr/bin/time -f "%U\t%M" ./progTab $tab > /dev/null) 2>&1`"
echo -e "$RES"
done
done
Supports Markdown
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