aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests
diff options
context:
space:
mode:
authorAlon Bar-Lev <[email protected]>2016-10-19 09:04:07 +0000
committerWerner Koch <[email protected]>2016-11-11 08:09:40 +0000
commit41d8c7e51a8989be633b9ada124c58a01fae7d54 (patch)
tree707d3d24748e31a214e0d2ec9d1a9e1a57005374 /lang/python/tests
parentcore: Use better error code when using select with a too high fd. (diff)
downloadgpgme-41d8c7e51a8989be633b9ada124c58a01fae7d54.tar.gz
gpgme-41d8c7e51a8989be633b9ada124c58a01fae7d54.zip
tests,python: Atomic directory creation
* lang/python/tests/Makefile.am: Use MIDIR_P. * tests/gpg/Makefile.am: Ditto. * tests/gpgsm/Makefile.am: Ditto. -- Solves race in parallel build when mkdir fails if directory exists. Signed-off-by: Alon Bar-Lev <[email protected]> - Tweaked the ChangeLog Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'lang/python/tests')
-rw-r--r--lang/python/tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index aa88bdcb..39f532ce 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -89,7 +89,7 @@ clean-local:
./private-keys-v1.d/gpg-sample.stamp: $(private_keys)
- test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
+ $(MKDIR_P) ./private-keys-v1.d
for k in $(private_keys); do \
cp $$k private-keys-v1.d/$${k#$(test_srcdir)/}.key; \
done