Mercurial > gnulib
annotate modules/posix_spawn-tests @ 40203:30d91797009f
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Fri, 01 Mar 2019 08:42:42 -0800 |
parents | b7ec445e40de |
children |
rev | line source |
---|---|
10687 | 1 Files: |
12492 | 2 tests/test-posix_spawn3.c |
12489 | 3 tests/signature.h |
10687 | 4 |
5 Depends-on: | |
6 posix_spawn_file_actions_init | |
7 posix_spawn_file_actions_addopen | |
8 posix_spawn_file_actions_destroy | |
9 stdbool | |
10 unistd | |
11 sys_wait | |
39848
b7ec445e40de
posix_spawn tests: Fix link error on 64-bit Cygwin.
Bruno Haible <bruno@clisp.org>
parents:
12492
diff
changeset
|
12 environ |
10687 | 13 |
14 configure.ac: | |
11269
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
15 AC_EGREP_CPP([notposix], [[ |
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
16 #if defined _MSC_VER || defined __MINGW32__ |
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
17 notposix |
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
18 #endif |
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
19 ]], |
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
20 [posix_spawn_ported=no], |
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
21 [posix_spawn_ported=yes]) |
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
22 AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes]) |
10687 | 23 |
24 Makefile.am: | |
11269
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
25 if POSIX_SPAWN_PORTED |
10687 | 26 TESTS += test-posix_spawn3 |
27 check_PROGRAMS += test-posix_spawn3 | |
11269
8fea875fffee
Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents:
10687
diff
changeset
|
28 endif |