summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/run-ptest
Commit message (Collapse)AuthorAgeFilesLines
* 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>