[LTP] [PATCH v2 7/7] docparse: Split into metadata and docparse

Cyril Hrubis chrubis@suse.cz
Mon Nov 1 16:14:58 CET 2021


Hi!
> That way the metadata are build and installed unconditionally as they
> are going to be integral part of the test execution framework.
> 
> The metadata file is also renamed to ltp.json and installed into
> $DESTDIR/metadata/ltp.json.
> 
> The docparse build is triggered from the metadata Makefile since it has
> to be done once the ltp.json is fully generated.

I have forgotten to update the parse.sh script, this patch is broken
without:

diff --git a/metadata/parse.sh b/metadata/parse.sh
index 52d9a5cbf..b43d024c6 100755
--- a/metadata/parse.sh
+++ b/metadata/parse.sh
@@ -30,7 +30,7 @@ echo ' "tests": {'
 first=1

 for test in `find testcases/ -name '*.c'`; do
-       a=$($top_builddir/docparse/docparse -Iinclude -Itestcases/kernel/syscalls/utils/ "$test")
+       a=$($top_builddir/metadata/metaparse -Iinclude -Itestcases/kernel/syscalls/utils/ "$test")
        if [ -n "$a" ]; then
                if [ -z "$first" ]; then

Sorry for that.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list