summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/run-ptest
Commit message (Collapse)AuthorAgeFilesLines
* The poky repository master branch is no longer being updated.Richard Purdie2025-11-071-35/+0
| | | | | | | | | | | | | | | | | | | | | You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: skip http11 testsRoss Burton2025-09-081-0/+3
| | | | | | | | | | | | | | | | These tests are either unstable under load, or just unstable. A ticket has been filed upstream[1] but for now disable them. [ YOCTO #15467 ] [1] https://core.tcl-lang.org/tcl/tktview/3764f4e81f1483ab554c6d60f8483887bde28221 (From OE-Core rev: 8f1538518fd3a3017189b38437691ce358a2566a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: also skip chanio-13.6Ross Burton2025-09-081-1/+1
| | | | | | | | | | | | | The io-* tests and chanio-* tests are in sync, so we should skip both io-13.6 and chanio-13.6. [ YOCTO #15421 ] (From OE-Core rev: e7686fbfb2cb630b33edce48bf1982044d0bf3ea) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: Resolve tcl-ptest run failureJiaying Song2024-12-281-1/+1
| | | | | | | | | | | | | Modify the TCL_LIBRARY to the correct value to resolve the following errors caused by multilib: application-specific initialization failed: Cannot find a usable init.tcl in the following directories: /usr/lib/tcl/ptest/library {} /usr/lib64/tcl9.0 /usr/lib64/tcl/lib/tcl9.0 /usr/lib64/lib/tcl9.0 /usr/lib64/tcl/library /usr/lib64/library /usr/lib64/tcl9.0/library /usr/lib64/tcl9.0.0/library /usr/tcl9.0.0/library (From OE-Core rev: 9ae194e7270b84876a51e21941cdd718e15f1e59) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: update 8.6.15 -> 9.0.0Alexander Kanavin2024-11-121-3/+4
| | | | | | | | | | | | Make adjustments needed for ptests: among others, the binary.test needs 4G of RAM. Apply all patches unconditionally for ease of future upgrades. (From OE-Core rev: 372cfdd3f9355081942514c7db44119fa55ff58e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: skip io-13.6 test caseRoss Burton2024-10-151-0/+2
| | | | | | | | | | | | | | | | | | | ---- Result was: {abcdefghj 01234} 0 ---- Result should have been (exact matching): {abcdefghj } 1 01234 0 ==== io-13.6 FAILED This test is documented as failing on slow machines, so just skip it. [ YOCTO #15407 ] (From OE-Core rev: f69183586655294c9aed6687cebe57767c2f3eb8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: skip I/O channel 46.1Ross Burton2024-03-231-0/+2
| | | | | | | | | | | | This test, which is in both the io and chanio test suites, has short timeouts which can trigger on loaded systems. [ YOCTO #15407 #15421 ] (From OE-Core rev: 1617b98491c5293567674e4b9c49c2017fb5c8b2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: improve run-ptestRoss Burton2024-03-231-9/+15
| | | | | | | | | | | | | | | | By setting ERROR_ON_FAILURES we don't need to grep the output to know if the tests failed. By default the log runner will print the failed test case, so we don't need to store the log at all. Set the skipped tests across multiple lines so that it's easier to see what skips are related to what bugs, and to avoid very long lines. Use basename instead of awk to get the test name. (From OE-Core rev: a3fffea6b370e22380b0699dcefcda16fdc1f116) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: skip async and event tests in run-ptestRoss Burton2023-12-201-2/+2
| | | | | | | | | | | | These test suites are full of timing-sensitive test cases, so skip them too. [ YOCTO #15321 ] (From OE-Core rev: dd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: skip timing-dependent tests in run-ptestRoss Burton2023-12-131-1/+5
| | | | | | | | | | | | | There are several tests in the test suite which are very dependent on timing and fail on a loaded host system, so skip them. [ YOCTO #14825 #14882 #15081 ] (From OE-Core rev: 68beb4f4b5a0bea5d431decddf7656f18ac7a04a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: Add a way to skip ptestsKhem Raj2023-09-061-2/+2
| | | | | | | | | | | | | | Some tests hardcode assumptions on locales, which may not be present in musl systems e.g., therefore add a way to skip such tests using -skip option. Skip unixInit-3* test on musl (From OE-Core rev: fa66f1cee2d88c2276442e8b4aaeccde5490f9ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: clock.test needs a timezone to be setRoss Burton2021-07-131-1/+5
| | | | | | | (From OE-Core rev: 2ee179c78d8904da5c1a28855e3bc4a01a4c3db6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: detect tests that error as well as failRoss Burton2021-07-131-1/+1
| | | | | | | | | | The grep was only looking for tests which explicitly fail, and wasn't catching tests that error. (From OE-Core rev: 25f198e03e2cc3e969d704b7a56e207933fc0ffc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: in run-ptest show output if a test failsRoss Burton2018-12-151-5/+10
| | | | | | | | | If a test fails the log has useful information, so include that in the output. (From OE-Core rev: f66f533eb9974cdefaacfee00d019c65e0d80b9e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-ptest: fix bashismRobert Yang2014-08-281-2/+2
| | | | | | | | | | | | | | | | | | | | These script use /bin/sh as the interpreter, but contains bashism: recipes-devtools/insserv/files/run-ptest recipes-devtools/quilt/quilt/run-ptest recipes-devtools/tcltk/tcl/run-ptest recipes-extended/gawk/gawk-4.1.1/run-ptest recipes-support/beecrypt/beecrypt/run-ptest Fixed: "==" -> "=" (should be -eq when integer) "&>log" -> ">log 2>&1" And quilt's test scripts requires bash, add bash to RDEPENDS_quilt-ptest (From OE-Core rev: 70c6e0b84d3e17807cbea0677df2f0772a284130) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: enable ptest supportChong Lu2014-01-101-0/+8
Install tcl test suite and run it as ptest. (From OE-Core rev: 831da5b54cf294ecf90626b14d439bd8e99cb0c2) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>