2021-06-23 16:15:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
#Ce script lance en séquence les différents jeux de tests.
|
2021-06-25 13:44:16 +02:00
|
|
|
if [ "$#" -ne 1 ]
|
2021-06-24 15:04:22 +02:00
|
|
|
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 17:17:15 +02:00
|
|
|
./scriptGenerateReportPage.sh
|
2021-06-24 15:39:18 +02:00
|
|
|
|