[LTP] [PATCH] testcases: realtime: Get rid of autotools

Li Wang liwang@redhat.com
Tue May 7 14:11:38 CEST 2024


Cyril Hrubis <chrubis@suse.cz> wrote:

The autotools checks are outdated and not needed anymore.
>
> (untested but should work fine)
>
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> ---
>  testcases/realtime/Makefile            | 64 +-------------------------
>  testcases/realtime/configure.ac        | 42 -----------------
>  testcases/realtime/include/librttest.h |  9 +---
>  testcases/realtime/lib/libstats.c      |  6 ---
>  testcases/realtime/m4/.gitignore       |  1 -
>  testcases/realtime/m4/GNUmakefile      | 37 ---------------
>  testcases/realtime/m4/Makefile.am      |  1 -
>  testcases/realtime/m4/check.m4         | 14 ------
>  8 files changed, 2 insertions(+), 172 deletions(-)
>  delete mode 100644 testcases/realtime/configure.ac
>  delete mode 100644 testcases/realtime/m4/.gitignore
>  delete mode 100644 testcases/realtime/m4/GNUmakefile
>  delete mode 100644 testcases/realtime/m4/Makefile.am
>  delete mode 100644 testcases/realtime/m4/check.m4
>

Seems we have to remove the related line in automake.mk as well,
otherwise build broken in 'make -C testcases/realtime autotools'.

--- a/include/mk/automake.mk
+++ b/include/mk/automake.mk
@@ -27,7 +27,6 @@ AUTOHEADER    ?= autoheader
 AUTOMAKE       ?= automake

 AUTOCONFED_SUBDIRS     = \
-                       testcases/realtime \
                        testcases/open_posix_testsuite


-- 
Regards,
Li Wang


More information about the ltp mailing list