Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 985080e9 authored by BARROS DE ASSIS Lucas's avatar BARROS DE ASSIS Lucas
Browse files

Revert "Fix error counting when testing"

This reverts commit 39eeeec4
parent 39eeeec4
...@@ -197,9 +197,8 @@ int testing_zgels(int argc, char **argv) ...@@ -197,9 +197,8 @@ int testing_zgels(int argc, char **argv)
printf("***************************************************\n"); printf("***************************************************\n");
} }
else{ else{
hres++;
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n"); hres++; printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n");
printf("***************************************************\n"); printf("***************************************************\n");
} }
} }
...@@ -230,7 +229,7 @@ int testing_zgels(int argc, char **argv) ...@@ -230,7 +229,7 @@ int testing_zgels(int argc, char **argv)
} }
else { else {
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n"); hres++; printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n");
printf("***************************************************\n"); printf("***************************************************\n");
} }
} }
...@@ -306,8 +305,6 @@ int testing_zgels(int argc, char **argv) ...@@ -306,8 +305,6 @@ int testing_zgels(int argc, char **argv)
} }
} }
else { else {
hres++;
if (M >= N) { if (M >= N) {
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n"); printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n");
......
...@@ -234,7 +234,7 @@ int testing_zgels_hqr(int argc, char **argv) ...@@ -234,7 +234,7 @@ int testing_zgels_hqr(int argc, char **argv)
} }
else { else {
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n"); hres++; printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n");
printf("***************************************************\n"); printf("***************************************************\n");
} }
} }
...@@ -305,8 +305,6 @@ int testing_zgels_hqr(int argc, char **argv) ...@@ -305,8 +305,6 @@ int testing_zgels_hqr(int argc, char **argv)
} }
} }
else { else {
hres++;
if (M >= N) { if (M >= N) {
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n"); printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n");
......
...@@ -197,7 +197,7 @@ int testing_zgels_systolic(int argc, char **argv) ...@@ -197,7 +197,7 @@ int testing_zgels_systolic(int argc, char **argv)
} }
else{ else{
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n"); hres++; printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n");
printf("***************************************************\n"); printf("***************************************************\n");
} }
} }
...@@ -230,7 +230,7 @@ int testing_zgels_systolic(int argc, char **argv) ...@@ -230,7 +230,7 @@ int testing_zgels_systolic(int argc, char **argv)
} }
else { else {
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n"); hres++; printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n");
printf("***************************************************\n"); printf("***************************************************\n");
} }
} }
...@@ -303,8 +303,6 @@ int testing_zgels_systolic(int argc, char **argv) ...@@ -303,8 +303,6 @@ int testing_zgels_systolic(int argc, char **argv)
} }
} }
else { else {
hres++;
if (M >= N) { if (M >= N) {
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n"); printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n");
......
...@@ -158,7 +158,7 @@ int testing_zgesv_incpiv(int argc, char **argv) ...@@ -158,7 +158,7 @@ int testing_zgesv_incpiv(int argc, char **argv)
} }
else{ else{
printf("***************************************************\n"); printf("***************************************************\n");
printf(" - TESTING INCPIV ZGETRF + ZGETRS ... FAILED !\n"); hres++; printf(" - TESTING INCPIV ZGETRF + ZGETRS ... FAILED !\n");
printf("***************************************************\n"); printf("***************************************************\n");
} }
...@@ -203,7 +203,7 @@ int testing_zgesv_incpiv(int argc, char **argv) ...@@ -203,7 +203,7 @@ int testing_zgesv_incpiv(int argc, char **argv)
} }
else{ else{
printf("**************************************************\n"); printf("**************************************************\n");
printf(" - TESTING INCPIV ZGETRF + ZTRSMPL + ZTRSM ... FAILED !\n"); hres++; printf(" - TESTING INCPIV ZGETRF + ZTRSMPL + ZTRSM ... FAILED !\n");
printf("**************************************************\n"); printf("**************************************************\n");
} }
......
...@@ -145,7 +145,7 @@ int testing_zlange(int argc, char **argv) ...@@ -145,7 +145,7 @@ int testing_zlange(int argc, char **argv)
} }
else { else {
printf(" - TESTING ZLANTR (%s, %s, %s)... FAILED !\n", printf(" - TESTING ZLANTR (%s, %s, %s)... FAILED !\n",
normstr[n], uplostr[u], diagstr[d]); hres++; normstr[n], uplostr[u], diagstr[d]);
} }
printf("***************************************************\n"); printf("***************************************************\n");
} }
...@@ -184,7 +184,7 @@ int testing_zlange(int argc, char **argv) ...@@ -184,7 +184,7 @@ int testing_zlange(int argc, char **argv)
printf(" ---- TESTING ZLANSY (%s, %s)......... PASSED !\n", normstr[n], uplostr[u]); printf(" ---- TESTING ZLANSY (%s, %s)......... PASSED !\n", normstr[n], uplostr[u]);
} }
else { else {
printf(" - TESTING ZLANSY (%s, %s)... FAILED !\n", normstr[n], uplostr[u]); hres++; printf(" - TESTING ZLANSY (%s, %s)... FAILED !\n", normstr[n], uplostr[u]);
} }
printf("***************************************************\n"); printf("***************************************************\n");
} }
...@@ -229,7 +229,7 @@ int testing_zlange(int argc, char **argv) ...@@ -229,7 +229,7 @@ int testing_zlange(int argc, char **argv)
printf(" ---- TESTING ZLANHE (%s, %s)......... PASSED !\n", normstr[n], uplostr[u]); printf(" ---- TESTING ZLANHE (%s, %s)......... PASSED !\n", normstr[n], uplostr[u]);
} }
else { else {
printf(" - TESTING ZLANHE (%s, %s)... FAILED !\n", normstr[n], uplostr[u]); hres++; printf(" - TESTING ZLANHE (%s, %s)... FAILED !\n", normstr[n], uplostr[u]);
} }
printf("***************************************************\n"); printf("***************************************************\n");
} }
......
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