On Fri, 22 Nov 2024 at 14:00, Virendra Kumar Thakur
<virendra.tha...@kpit.com> wrote:
> With code from github it works fine. make test-all is working.
>
> I am attaching here with the output file.
>
> 1..214
> ok
> All tests successful.
> Files=3, Tests=452, 12 wallclock secs ( 0.12 usr  0.03 sys +  3.22 cusr  5.92 
> csys =  9.29 CPU)
> Result: PASS

Right. Then your next task is to figure out where those tests obtain
the needed data, and then replicate that in oe-core, possibly by
adding needed repositories to SRC_URI, and then copying bits of them
into the ptest package.

The key sequence in the log seems to be this:

git branch --track run-test-suite origin/run-test-suite
Branch 'run-test-suite' set up to track remote branch 'run-test-suite'
from 'origin'.
git worktree prune
git worktree add tests/run-test-suite run-test-suite
Preparing worktree (checking out 'run-test-suite')
HEAD is now at cc9cb7b More bin/pin debug messages
make -C tests/run-test-suite test
make[1]: Entering directory
'/home/virendrak/libyaml-github/libyaml/tests/run-test-suite'
git clone https://github.com/yaml/yaml-test-suite data --branch=data
Cloning into 'data'...
remote: Enumerating objects: 17410, done.
remote: Counting objects: 100% (1134/1134), done.
remote: Compressing objects: 100% (555/555), done.
remote: Total 17410 (delta 675), reused 580 (delta 579), pack-reused
16276 (from 1)
Receiving objects: 100% (17410/17410), 4.57 MiB | 9.07 MiB/s, done.
Resolving deltas: 100% (11215/11215), done.
(cd data && git reset --hard data-2020-02-11)
HEAD is now at a12ee724 Regenerated data from master v2020-02-11
git branch --track run-test-suite-code origin/run-test-suite-code
Branch 'run-test-suite-code' set up to track remote branch
'run-test-suite-code' from 'origin'.
git worktree prune
[[ -d test ]] || \
    git worktree add test run-test-suite-code
Preparing worktree (checking out 'run-test-suite-code')
HEAD is now at 67365dd Remove tests for PR#162
(cd test && git reset --hard 67365dd2af265f17ba6ee0832c1411e4fd80ac0b)
HEAD is now at 67365dd Remove tests for PR#162
prove -lv test



Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207613): 
https://lists.openembedded.org/g/openembedded-core/message/207613
Mute This Topic: https://lists.openembedded.org/mt/109148544/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to