<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-support/ptest-runner, branch master-test</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-test</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-test'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-11-08T14:03:20+00:00</updated>
<entry>
<title>ptest-runner: Fix license as it contains 'or later' clause</title>
<updated>2020-11-08T14:03:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-10-29T21:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=744a463831016abdac3433db8ca9d1b656881915'/>
<id>urn:sha1:744a463831016abdac3433db8ca9d1b656881915</id>
<content type='text'>
The license headers are clear that the code is "or later", fix LICENSE
to match.

(From OE-Core rev: 5f0b5cdfcb104ac50222a47652e090ad8770e49f)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: Backport patch to fix inappropriate ioctl error</title>
<updated>2020-09-28T13:15:48+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-09-26T14:08:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d3e9e5ebf36d1d1d7ee4bc38a64f6ec9e8fc819b'/>
<id>urn:sha1:d3e9e5ebf36d1d1d7ee4bc38a64f6ec9e8fc819b</id>
<content type='text'>
The srcrev bump is actually bring single commit [1] on top of 2.4.0 which fixes ptest
runs with messges like

ERROR: Unable to detach from controlling tty, Inappropriate ioctl for device

[1] https://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=834670317bd3f6e427e1ac461c07ada6b8936dfd

(From OE-Core rev: 791da075619139fa55751f8013c73d2fbf0cf64c)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: fix upstream version check</title>
<updated>2020-06-04T12:27:31+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2020-05-31T15:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5df6dc44370c446c699007659782323814a4d9ce'/>
<id>urn:sha1:5df6dc44370c446c699007659782323814a4d9ce</id>
<content type='text'>
(From OE-Core rev: fd180d21ec907726b2fcd7709b93cb8e464390d5)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: Bump to 2.4.0</title>
<updated>2020-05-02T08:08:53+00:00</updated>
<author>
<name>Anibal Limon</name>
<email>anibal.limon@linaro.org</email>
</author>
<published>2020-04-28T21:18:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=792d1ebba98b097d4d68c7261bf6af0c9d186eab'/>
<id>urn:sha1:792d1ebba98b097d4d68c7261bf6af0c9d186eab</id>
<content type='text'>
Add support for un ptests in multiple directories, useful in multilib
builds.

Changes,

1e9a845 Add support to specify multiple folder for ptest-runner
287ba30 Makefile: Fix TEST_LDFLAGS gcc cmdline position

[YOCTO #12604]

(From OE-Core rev: 1203ee86e3cf4d73f6ba513452717f1c4f78c501)

Signed-off-by: Aníbal Limón &lt;anibal.limon@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: update from 2.3.1 to 2.3.2</title>
<updated>2019-08-03T22:56:01+00:00</updated>
<author>
<name>Randy MacLeod</name>
<email>Randy.MacLeod@windriver.com</email>
</author>
<published>2019-08-01T20:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=640c59a70658708863ff15e3b9de5a4b4bfab2e4'/>
<id>urn:sha1:640c59a70658708863ff15e3b9de5a4b4bfab2e4</id>
<content type='text'>
All local patches are now upstream so they have been dropped.
Other upstream commits make ptest-runner build using: clang -Weverything

$ git log --oneline b73bd54..7015e91
7015e91 (HEAD -&gt; oe-core-master, tag: v2.3.2, origin/master, origin/HEAD, master) Fix additional warnings when using clang
dd1daa8 tests: fix clang warnings.
15fd131 main code: fix clang warnings
59381a6 utils: ensure child can be session leader
5fe2c0a utils: Ensure pipes are read after exit
79a9c27 use process groups when spawning
b73bd54 utils: Ensure stdout/stderr are flushed

(From OE-Core rev: 9a80a352a9d0c4ea09de7bb370267672c32771f2)

Signed-off-by: Randy MacLeod &lt;Randy.MacLeod@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: enable child procs as session leader</title>
<updated>2019-06-18T10:23:48+00:00</updated>
<author>
<name>Randy MacLeod</name>
<email>Randy.MacLeod@windriver.com</email>
</author>
<published>2019-06-16T15:48:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8478801d4933f8e07fba39f9e1494710aa785679'/>
<id>urn:sha1:8478801d4933f8e07fba39f9e1494710aa785679</id>
<content type='text'>
When running the run-execscript bash ptest as a user rather than root, a warning:
  bash: cannot set terminal process group (16036): Inappropriate ioctl for device
  bash: no job control in this shell
contaminates the bash log files causing the test to fail. This happens only
when run under ptest-runner and not when interactively testing!

The changes made to fix this include:
1. Get the process group id (pgid) before forking,
2. Set the pgid in both the parent and child to avoid a race,
3. Find, open and set permission on the child tty, and
4. Allow the child to attach to controlling tty.

(From OE-Core rev: 83795a83505a311058130c662ff3342b0e39e67f)

Signed-off-by: Randy MacLeod &lt;Randy.MacLeod@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: update SRCREV to latest HEAD on ptest-runner2 repo</title>
<updated>2019-06-05T23:40:07+00:00</updated>
<author>
<name>Sakib Sajal</name>
<email>sakib.sajal@windriver.com</email>
</author>
<published>2019-06-04T19:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ee5544f30188854ebacaa9d84fa8a3dc0cac548a'/>
<id>urn:sha1:ee5544f30188854ebacaa9d84fa8a3dc0cac548a</id>
<content type='text'>
   63d097c Add SPDX-License-Identifier: GPL-2.0-or-later in source files (HEAD)
   fb93c99 utils.c: close all file descriptors after completing a ptest

(From OE-Core rev: 4115805fb4ff47fc794651ca59c858f91fe26fc7)

Signed-off-by: Sakib Sajal &lt;sakib.sajal@windriver.com&gt;
Signed-off-by: Randy Macleod &lt;randy.macleod@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: Add several logging fixes</title>
<updated>2019-04-09T12:44:39+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2019-04-04T13:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=65b37734c7350443957dcb7d8f299d384d5aaa8c'/>
<id>urn:sha1:65b37734c7350443957dcb7d8f299d384d5aaa8c</id>
<content type='text'>
This change adds three patches to improve the handling of stdout/stderr and child
processes to try and improve logging reliability in ptest-runner.

(From OE-Core rev: 1c0fffc401cdb581a93d16d225f53c83359ff209)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: Upgrade to 2.3.1</title>
<updated>2019-01-31T23:23:26+00:00</updated>
<author>
<name>Aníbal Limón</name>
<email>anibal.limon@linaro.org</email>
</author>
<published>2019-01-30T17:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f1fa6e1bb9e8312188d55cd4bc361bfc1ad78228'/>
<id>urn:sha1:f1fa6e1bb9e8312188d55cd4bc361bfc1ad78228</id>
<content type='text'>
Changeset,

05b112b utils.c: Print DURATION after ERROR
acb5efb utils.c: run_child redirect stderr to stdout
e1062f7 ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling

(From OE-Core rev: f0b3fa049e0395ffc56237404f79975852ce4e4e)

Signed-off-by: Aníbal Limón &lt;anibal.limon@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest-runner: pass libdir to DEFAULT_DIRECTORY when compiling</title>
<updated>2019-01-24T17:45:25+00:00</updated>
<author>
<name>Li Zhou</name>
<email>li.zhou@windriver.com</email>
</author>
<published>2019-01-22T09:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a5c4807022c044f34e5a570ccfb2624779784632'/>
<id>urn:sha1:a5c4807022c044f34e5a570ccfb2624779784632</id>
<content type='text'>
Ptest data are installed to PTEST_PATH ?= "${libdir}/${BPN}/ptest".
When libdir isn't "/usr/lib", it will cause "No ptests found" error
when running "ptest-runner" command. Here pass libdir to
DEFAULT_DIRECTORY when compiling to avoid that error.

Need update ptest-runner source code to get the new commit:
&lt;ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling&gt;

(From OE-Core rev: 1447afd62035f42344a32a487bec408e6563d5f6)

Signed-off-by: Li Zhou &lt;li.zhou@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
