]> Savannah Git Hosting - gnulib.git/commit
tests: skip thread-using tests when threading is disabled
authorJim Meyering <meyering@fb.com>
Sun, 5 Jan 2020 18:25:27 +0000 (10:25 -0800)
committerBruno Haible <bruno@clisp.org>
Sun, 5 Jan 2020 19:49:30 +0000 (20:49 +0100)
commita7903da07d3d18c23314aa0815adbb4058fd7cec
treeaaafe63fe36cb46f8a68d02034b64a141d24c984
parent43b5194d5b156f8dd7ae576952568d331978f5f0
tests: skip thread-using tests when threading is disabled

sed's configure.ac specifies gl_DISABLE_THREADS, and that caused three
thread-using gnulib tests to fail. Add an #if-guarded exit (77) to each
of those, so they are skipped in this case.
* tests/test-nl_langinfo-mt.c (main): Exit 77 when threading is disabled.
* tests/test-setlocale_null-mt-all.c (main): Likewise.
* tests/test-setlocale_null-mt-one.c (main): Likewise.
ChangeLog
tests/test-nl_langinfo-mt.c
tests/test-setlocale_null-mt-all.c
tests/test-setlocale_null-mt-one.c