Mentions légales du service

Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!159Fix leading dimensions,!155Fix error counting
......@@ -197,9 +197,8 @@ int testing_zgels(int argc, char **argv)
printf("***************************************************\n");
}
else{
hres++;
printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n"); hres++;
printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n");
printf("***************************************************\n");
}
}
......@@ -230,7 +229,7 @@ int testing_zgels(int argc, char **argv)
}
else {
printf("***************************************************\n");
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n"); hres++;
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n");
printf("***************************************************\n");
}
}
......@@ -306,8 +305,6 @@ int testing_zgels(int argc, char **argv)
}
}
else {
hres++;
if (M >= N) {
printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n");
......
......@@ -234,7 +234,7 @@ int testing_zgels_hqr(int argc, char **argv)
}
else {
printf("***************************************************\n");
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n"); hres++;
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n");
printf("***************************************************\n");
}
}
......@@ -305,8 +305,6 @@ int testing_zgels_hqr(int argc, char **argv)
}
}
else {
hres++;
if (M >= N) {
printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n");
......
......@@ -197,7 +197,7 @@ int testing_zgels_systolic(int argc, char **argv)
}
else{
printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n"); hres++;
printf(" - TESTING ZGEQRF + ZGEQRS ... FAILED !\n");
printf("***************************************************\n");
}
}
......@@ -230,7 +230,7 @@ int testing_zgels_systolic(int argc, char **argv)
}
else {
printf("***************************************************\n");
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n"); hres++;
printf(" - TESTING ZGELQF + ZGELQS ... FAILED !\n");
printf("***************************************************\n");
}
}
......@@ -303,8 +303,6 @@ int testing_zgels_systolic(int argc, char **argv)
}
}
else {
hres++;
if (M >= N) {
printf("***************************************************\n");
printf(" - TESTING ZGEQRF + ZUNMQR + ZTRSM ... FAILED !\n");
......
......@@ -158,7 +158,7 @@ int testing_zgesv_incpiv(int argc, char **argv)
}
else{
printf("***************************************************\n");
printf(" - TESTING INCPIV ZGETRF + ZGETRS ... FAILED !\n"); hres++;
printf(" - TESTING INCPIV ZGETRF + ZGETRS ... FAILED !\n");
printf("***************************************************\n");
}
......@@ -203,7 +203,7 @@ int testing_zgesv_incpiv(int argc, char **argv)
}
else{
printf("**************************************************\n");
printf(" - TESTING INCPIV ZGETRF + ZTRSMPL + ZTRSM ... FAILED !\n"); hres++;
printf(" - TESTING INCPIV ZGETRF + ZTRSMPL + ZTRSM ... FAILED !\n");
printf("**************************************************\n");
}
......
......@@ -145,7 +145,7 @@ int testing_zlange(int argc, char **argv)
}
else {
printf(" - TESTING ZLANTR (%s, %s, %s)... FAILED !\n",
normstr[n], uplostr[u], diagstr[d]); hres++;
normstr[n], uplostr[u], diagstr[d]);
}
printf("***************************************************\n");
}
......@@ -184,7 +184,7 @@ int testing_zlange(int argc, char **argv)
printf(" ---- TESTING ZLANSY (%s, %s)......... PASSED !\n", normstr[n], uplostr[u]);
}
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");
}
......@@ -229,7 +229,7 @@ int testing_zlange(int argc, char **argv)
printf(" ---- TESTING ZLANHE (%s, %s)......... PASSED !\n", normstr[n], uplostr[u]);
}
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");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment