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
============================================================================
Testsuite summary for yaml 0.2.5
============================================================================
# TOTAL: 2
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[1]: Leaving directory  yaml-0.2.5/tests'

So added few more test binary and an example yaml file as test input. So below 
are the test binary .
 run-emitter
 run-dumper
 run-parser
 run-scanner
 run-loader



[cid:6e137582-c02d-4e71-a295-5ee18e5b2928]<https://outlook.office.com/bookwithme/user/[email protected]?anonymous&ep=bwmEmailSignature>
         Book time to meet with 
me<https://outlook.office.com/bookwithme/user/[email protected]?anonymous&ep=bwmEmailSignature>

________________________________
From: Alexander Kanavin <[email protected]>
Sent: Tuesday, November 19, 2024 5:37 PM
To: Virendra Kumar Thakur <[email protected]>
Cc: [email protected] <[email protected]>; 
[email protected] 
<[email protected]>; [email protected] 
<[email protected]>
Subject: Re: [OE-core] [master][PATCH] libyaml: Add libyaml ptest

Caution: This email originated from outside of the KPIT. Do not click links or 
open attachments unless you recognize the sender and know the content is safe.

On Tue, 19 Nov 2024 at 13:02, Virendra Thakur via 
lists.openembedded.org<http://lists.openembedded.org/> 
<[email protected]<mailto:[email protected]>>
 wrote:


Below test does not require any argument to be pass. Its is a simple binary
> +       test-version and test-reader


 run-emitter|run-dumper|run-parser|run-scanner|run-loader
Other test require an argument and yaml file which it needs to perform task. 
Like parsing or emmiting or to perform run-loader test

This does not quite answer this part of my question:

How does the test suite work upstream and why can't we
simply use that?

I still don't understand why a custom yaml needs to be created.

Alex
This message contains information that may be privileged or confidential and is 
the property of the KPIT Technologies Ltd. It is intended only for the person 
to whom it is addressed. If you are not the intended recipient, you are not 
authorized to read, print, retain copy, disseminate, distribute, or use this 
message or any part thereof. If you receive this message in error, please 
notify the sender immediately and delete all copies of this message. KPIT 
Technologies Ltd. does not accept any liability for virus infected mails.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207390): 
https://lists.openembedded.org/g/openembedded-core/message/207390
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