Mercurial > hg > octave-jordi > gnulib-hg
annotate modules/xalloc-die-tests @ 17732:6d92afe34a82
openat-die: use _Noreturn markup
Compiling coreutils.git on cygwin with gcc 4.8.3, I got:
lib/openat-die.c:34:1: error: function might be candidate for attribute 'noreturn' [-Werror=suggest-attribute=noreturn]
openat_save_fail (int errnum)
^
* modules/openat-die (Depends-on): Add snippet/_Noreturn.
* lib/openat-die.c (openat_save_fail, openat_restore_fail): Mark
_Noreturn.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 30 Jul 2014 15:01:44 -0600 |
parents | 928411ca75b9 |
children |
rev | line source |
---|---|
12295
b8c65d432a3e
Add xalloc-die self-test.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
1 Files: |
b8c65d432a3e
Add xalloc-die self-test.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
2 tests/test-xalloc-die.c |
12301
8cf4c5e7274b
xalloc-die-tests: avoid printing null pointer
Eric Blake <ebb9@byu.net>
parents:
12295
diff
changeset
|
3 tests/test-xalloc-die.sh |
12295
b8c65d432a3e
Add xalloc-die self-test.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
4 |
b8c65d432a3e
Add xalloc-die self-test.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
5 Depends-on: |
12369
43c3308eae10
test-xalloc-die: avoid spurious failure due to libtool argv difference
Jim Meyering <meyering@redhat.com>
parents:
12324
diff
changeset
|
6 progname |
16183
928411ca75b9
maint: remove explicit Files: tests/init.sh; depend on test-framework-sh
Jim Meyering <meyering@redhat.com>
parents:
12775
diff
changeset
|
7 test-framework-sh |
12295
b8c65d432a3e
Add xalloc-die self-test.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
8 |
b8c65d432a3e
Add xalloc-die self-test.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
9 Makefile.am: |
12301
8cf4c5e7274b
xalloc-die-tests: avoid printing null pointer
Eric Blake <ebb9@byu.net>
parents:
12295
diff
changeset
|
10 TESTS += test-xalloc-die.sh |
12295
b8c65d432a3e
Add xalloc-die self-test.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
11 check_PROGRAMS += test-xalloc-die |
12324
1e925352367b
xalloc-die-tests: add missing library
Eric Blake <ebb9@byu.net>
parents:
12305
diff
changeset
|
12 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@ |