1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

w32: Fix for make check.

* common/Makefile.am (module_tests): Exclude t-exechelp and
t-exectool.
* common/t-stringhelp.c (mygetcwd): Convert '\' to '/'.
* tests/cms/Makefile.am: Add $(EXEEXT).
* tests/gpgme/Makefile.am: Likewise.
* tests/migrations/Makefile.am: Likewise.
* tests/openpgp/Makefile.am: Likewise.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2022-04-06 11:28:00 +09:00
parent 48ee11722d
commit 39d478f5ba
6 changed files with 15 additions and 8 deletions

View file

@ -88,7 +88,15 @@ mygetcwd (void)
return buffer;
#else
if (getcwd (buffer, size) == buffer)
return buffer;
{
#ifdef HAVE_W32_SYSTEM
char *p;
for (p = buffer; *p; p++)
if (*p == '\\')
*p = '/';
#endif
return buffer;
}
xfree (buffer);
if (errno != ERANGE)
{