+2009-01-19 Bruno Haible <bruno@clisp.org>
+
+ * modules/uniname/uniname-tests (Depends-on): Add progname.
+ * tests/uniname/test-uninames.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/u8-vsprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-u8-vsprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/u8-vsnprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-u8-vsnprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/u16-vsprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-u16-vsprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/u16-vsnprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-u16-vsnprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/u32-vsprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-u32-vsprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/u32-vsnprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-u32-vsnprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/ulc-vsprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-ulc-vsprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
+ * modules/unistdio/ulc-vsnprintf-tests (Depends-on): Add progname.
+ * tests/unistdio/test-ulc-vsnprintf1.c: Include progname.h.
+ (main): Call set_program_name.
+
2009-01-19 Eric Blake <ebb9@byu.net>
test-unistd: test previous patch
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
Depends-on:
xalloc
+progname
configure.ac:
/* Test the Unicode character name functions.
- Copyright (C) 2000-2003, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2000-2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "xalloc.h"
#include "uniname.h"
+#include "progname.h"
/* The names according to the UnicodeData.txt file, modified to contain the
Hangul syllable names, as described in the Unicode 3.0 book. */
{
int error = 0;
+ set_program_name (argv[0]);
+
fill_names (argv[1]);
error |= test_name_lookup ();
/* Test of u16_vsnprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "unistr.h"
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsnprintf ();
+
return 0;
}
/* Test of u16_vsprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "unistr.h"
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsprintf ();
+
return 0;
}
/* Test of u32_vsnprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "unistr.h"
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsnprintf ();
+
return 0;
}
/* Test of u32_vsprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "unistr.h"
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsprintf ();
+
return 0;
}
/* Test of u8_vsnprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "unistr.h"
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsnprintf ();
+
return 0;
}
/* Test of u8_vsprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "unistr.h"
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsprintf ();
+
return 0;
}
/* Test of ulc_vsnprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <string.h>
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsnprintf ();
+
return 0;
}
/* Test of ulc_vsprintf() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <string.h>
#include "xalloc.h"
+#include "progname.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsprintf ();
+
return 0;
}