mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-05-13 15:13:36 +00:00
Use module 'progname' in some more tests.
This commit is contained in:
38
ChangeLog
38
ChangeLog
@@ -1,3 +1,41 @@
|
||||
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
|
||||
|
||||
@@ -5,6 +5,7 @@ tests/uniname/UnicodeDataNames.txt
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-u16-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-u16-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-u32-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-u32-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-u8-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-u8-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-ulc-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ tests/unistdio/test-ulc-printf1.h
|
||||
|
||||
Depends-on:
|
||||
xalloc
|
||||
progname
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#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. */
|
||||
@@ -249,6 +250,8 @@ main (int argc, char *argv[])
|
||||
{
|
||||
int error = 0;
|
||||
|
||||
set_program_name (argv[0]);
|
||||
|
||||
fill_names (argv[1]);
|
||||
|
||||
error |= test_name_lookup ();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "unistr.h"
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -75,6 +76,9 @@ test_vsnprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsnprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "unistr.h"
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -75,6 +76,9 @@ test_vsprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "unistr.h"
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -75,6 +76,9 @@ test_vsnprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsnprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "unistr.h"
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -75,6 +76,9 @@ test_vsprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "unistr.h"
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -75,6 +76,9 @@ test_vsnprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsnprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "unistr.h"
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -75,6 +76,9 @@ test_vsprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -68,6 +69,9 @@ test_vsnprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsnprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "xalloc.h"
|
||||
#include "progname.h"
|
||||
|
||||
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
|
||||
#define ASSERT(expr) \
|
||||
@@ -68,6 +69,9 @@ test_vsprintf ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
set_program_name (argv[0]);
|
||||
|
||||
test_vsprintf ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user