From 50c9d542e8bf641412debaa82a4dcf67ddb72258 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 10 Sep 2015 13:34:14 +0200 Subject: tests: Use unique name for TEST_PATH We had a cases in patch where two tests were using the same TEST_PATH and therefore they were stepping each other to the same files which caused failures. These failures are not easy to reproduce. This patch uses macro BASE_FILE_STEM for unique name. It should prevent copy&paste problem resulting to intermittent failures. @see also https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html Reviewed-by: Jakub Hrozek --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index dc0670a5..ff343430 100644 --- a/Makefile.am +++ b/Makefile.am @@ -433,7 +433,9 @@ AM_CPPFLAGS = \ -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \ -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \ -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \ - -DLOCALEDIR=\"$(localedir)\" + -DLOCALEDIR=\"$(localedir)\" \ + -DBASE_FILE_STEM=\"$(*F)\" \ + $(NULL) EXTRA_DIST = -- cgit