2021-06-23 16:15:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
#Ce script lance en séquence les différents jeux de tests.
|
2021-06-24 15:04:22 +02:00
|
|
|
if [ "$#" -ne 2 ]
|
|
|
|
then
|
|
|
|
if [ "$1" = "--cleanup" ] || [ "$1" = "--c" ]
|
|
|
|
then
|
|
|
|
rm -rf ./ResultatTest/*
|
|
|
|
else
|
|
|
|
echo "Mauvaise utilisation de la commande, utilisez --cleanup ou -c pour supprimer les anciens rapport de tests"
|
|
|
|
fi
|
|
|
|
fi
|
2021-06-23 16:15:08 +02:00
|
|
|
python3 01_creation_departement_test.py;
|
|
|
|
python3 02_creation_formation_test.py;
|
|
|
|
python3 03_etudiant_test.py;
|
|
|
|
python3 04_creation_absence_test.py;
|
|
|
|
python3 05_saisie_note_test.py;
|
|
|
|
python3 06_test_moyenne.py;
|
2021-06-24 15:04:22 +02:00
|
|
|
python3 07_test_admission.py;
|
|
|
|
python3 deleteDepartement.py;
|
2021-06-24 15:39:18 +02:00
|
|
|
tree ./ResultatTest/ -H './ResultatTest/' -F -L 1 --noreport --charset utf-8 -P "*.html"> index.html
|
|
|
|
|