On Tue, 19 Nov 2024 at 14:24, Virendra Kumar Thakur <
[email protected]> wrote:

> in yocto , Libyaml are sourced from
> https://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz
>
> when I tried to run the test using above source . It only execute two test
> binary.
>
> yaml-0.2.5/tests$ make check-TESTS
> make[1]: Entering directory 'yaml-0.2.5/tests'
> PASS: test-version
> PASS: test-reader
>

If you take a look at upstream's top level Makefile.am, it has an
additional target:

=============
test-suite: tests/run-test-suite all
make -C $< test

test-all: test test-suite

tests/run-test-suite:
ifeq ($(LIBYAML_TEST_SUITE_RUN_REPO),$(LIBYAML_TEST_SUITE_RUN_REPO_DEFAULT))
 -git branch --track $(LIBYAML_TEST_SUITE_RUN_BRANCH)
origin/$(LIBYAML_TEST_SUITE_RUN_BRANCH)
 -git worktree prune
 git worktree add $@ $(LIBYAML_TEST_SUITE_RUN_BRANCH)
    else
 git clone --branch $(LIBYAML_TEST_SUITE_RUN_BRANCH)
$(LIBYAML_TEST_SUITE_RUN_REPO) $@
    endif
============

Presumably, running 'make test-all' will fetch the needed test data from
somewhere on the internet, and then use it to run additional tests. Can you
please try that, and see what happens? Then we can probably just use the
data from that repo by putting it into SRC_URI.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207396): 
https://lists.openembedded.org/g/openembedded-core/message/207396
Mute This Topic: https://lists.openembedded.org/mt/109148544/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to