jasmcaus / tau

A Micro (1k lines of code) Unit Test Framework for C/C++
MIT License
158 stars 30 forks source link

--no-summary option doesn't works #13

Closed 0xfk0 closed 2 years ago

0xfk0 commented 2 years ago
diff --git a/tau/tau.h b/tau/tau.h
index d446912..085cf6c 100644
--- a/tau/tau.h
+++ b/tau/tau.h
@@ -1052,7 +1051,7 @@ static TAU_Bool tauCmdLineRead(int argc, char** argv) {
         }

         // Disable Summary
-        else if(strncmp(argv[i], summaryStr, strlen(summaryStr))) {
+        else if(strncmp(argv[i], summaryStr, strlen(summaryStr)) == 0) {
             tauDisableSummary = 1;
         }
jasmcaus commented 2 years ago

Like #12, this hasn't been implemented.