Revision: 56258
http://sourceforge.net/p/brlcad/code/56258
Author: brlcad
Date: 2013-07-27 17:12:29 +0000 (Sat, 27 Jul 2013)
Log Message:
-----------
whatever the last set progname is should be the one returned by getprogname, so
the tests make sense (and pass here)
Modified Paths:
--------------
brlcad/trunk/src/libbu/tests/bu_progname.c
Modified: brlcad/trunk/src/libbu/tests/bu_progname.c
===================================================================
--- brlcad/trunk/src/libbu/tests/bu_progname.c 2013-07-27 17:05:05 UTC (rev
56257)
+++ brlcad/trunk/src/libbu/tests/bu_progname.c 2013-07-27 17:12:29 UTC (rev
56258)
@@ -106,11 +106,6 @@
pass++;
}
-/* These two tests only make sense if bu_setprogname is supposed to override
- * a program name from argv0 - until that is decided (and if so decided, the
- * behavior of bu_setprogname and bu_getprogname needs to be made to match
that)
- * turn off these two tests.*/
-#if 0
/* CASE 5: set 2x, then get */
label = "CASE 5";
bu_setprogname(av[0]);
@@ -138,7 +133,7 @@
printf("%24s -> %24s (should be: %s) [FAIL]\n", label, res, ans);
pass++;
}
-#endif
+
return pass;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits