Revision: 71959
          http://sourceforge.net/p/brlcad/code/71959
Author:   starseeker
Date:     2018-10-11 01:03:44 +0000 (Thu, 11 Oct 2018)
Log Message:
-----------
Clear more printf warnings

Modified Paths:
--------------
    brlcad/trunk/src/libbu/tests/b64.c
    brlcad/trunk/src/libbu/tests/basename.c
    brlcad/trunk/src/libbu/tests/path_component.c

Modified: brlcad/trunk/src/libbu/tests/b64.c
===================================================================
--- brlcad/trunk/src/libbu/tests/b64.c  2018-10-11 01:00:34 UTC (rev 71958)
+++ brlcad/trunk/src/libbu/tests/b64.c  2018-10-11 01:03:44 UTC (rev 71959)
@@ -54,7 +54,7 @@
     bu_free(decoded, "free decoded");
 
     if (!passed) {
-       bu_exit(1, "");
+       bu_exit(1, "b64 test failed");
     }
 }
 

Modified: brlcad/trunk/src/libbu/tests/basename.c
===================================================================
--- brlcad/trunk/src/libbu/tests/basename.c     2018-10-11 01:00:34 UTC (rev 
71958)
+++ brlcad/trunk/src/libbu/tests/basename.c     2018-10-11 01:03:44 UTC (rev 
71959)
@@ -118,7 +118,7 @@
        bu_log("%24s -> %24s (should be: %s) [FAIL]\n", input, bu_out, sys_out);
        bu_free(bu_out, "bu output");
        bu_free(sys_out, "system output");
-       bu_exit(EXIT_FAILURE, "");
+       bu_exit(EXIT_FAILURE, "compare_bu_to_system_basename failed");
     }
 #else
     bu_exit(EXIT_FAILURE, "BASENAME not available on this platform\n");

Modified: brlcad/trunk/src/libbu/tests/path_component.c
===================================================================
--- brlcad/trunk/src/libbu/tests/path_component.c       2018-10-11 01:00:34 UTC 
(rev 71958)
+++ brlcad/trunk/src/libbu/tests/path_component.c       2018-10-11 01:03:44 UTC 
(rev 71959)
@@ -36,12 +36,12 @@
     if (!expected_str && found) {
        bu_log("no result expected, but result found: %s\n", 
bu_vls_addr(&component));
        bu_vls_free(&component);
-       bu_exit(EXIT_FAILURE, "");
+       bu_exit(EXIT_FAILURE, "pc_compare: unexpected result");
     }
     if (expected_str && !found) {
        bu_log("%24s -> %24s (should be: %s) [FAIL]\n", input, 
bu_vls_addr(&component), expected_str);
        bu_vls_free(&component);
-       bu_exit(EXIT_FAILURE, "");
+       bu_exit(EXIT_FAILURE, "pc_compare: FAIL1");
        return;
     }
     if (!expected_str && !found) {
@@ -57,7 +57,7 @@
     } else {
        bu_log("%24s -> %24s (should be: %s) [FAIL]\n", input, 
bu_vls_addr(&component), expected_str);
        bu_vls_free(&component);
-       bu_exit(EXIT_FAILURE, "");
+       bu_exit(EXIT_FAILURE, "pc_compare: FAIL2");
     }
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to