2007-03-02 Bruno Haible <bruno@clisp.org>
+ * modules/array-list-tests (Depends-on): Add progname.
+ * tests/test-array_list.c: Include progname.h.
+ (main): Call set_program_name.
+
* modules/argp-tests (Depends-on): Add progname.
* tests/test-argp.c: Include argp.h first. Include progname.h.
(main): Call set_program_name.
#include <stdlib.h>
#include "gl_array_list.h"
+#include "progname.h"
static const char *objects[15] =
{
{
gl_list_t list1, list2;
+ set_program_name (argv[0]);
+
/* Allow the user to provide a non-default random seed on the command line. */
if (argc > 1)
srand (atoi (argv[1]));