tests: use a slightly better CU_TEST_NAME setting
authorJim Meyering <meyering@redhat.com>
Fri, 11 Dec 2009 12:59:57 +0000 (13:59 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Dec 2009 12:59:57 +0000 (13:59 +0100)
* tests/check.mk (CU_TEST_NAME): Better test names.

tests/check.mk

index a000eaabd417e6f2eab4ede07d4d91f88d2253e1..c235c64a7ddeb7ebef2daed15af98cfe72f60c20 100644 (file)
@@ -80,7 +80,7 @@ TESTS_ENVIRONMENT =                           \
   srcdir='$(srcdir)'                           \
   top_srcdir='$(top_srcdir)'                   \
   CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
-  CU_TEST_NAME=`basename '$(abs_srcdir)'`,$$tst        \
+  CU_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
   CC='$(CC)'                                   \
   AWK='$(AWK)'                                 \
   EGREP='$(EGREP)'                             \