mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 00:49:32 +02:00
tcl8: re-add tcl 8 to support building expect
I'd be happy to remove expect from core as it has been unmaintained for years, but sadly gcc/binutils test suites are basically written in it (via dejagnu), and ltp makes use of it as well. I attempted porting expect to tcl 9, but it's a tcl extension and makes extensive use of features that have been deprecated in tcl 8 and removed in tcl 9, and even pokes into tcl internals. At some point hopefully the GNU toolchain upstreams are going to notice; for now we'll carry tcl (latest) and tcl8 recipes. tcl and tcl8 packages can be co-installed, the latter is adjusted to contain tclsh8. tcl-dev and tcl8-dev packages can also be co-installed, a few files in tcl8-dev are renamed to avoid clashes with tcl-dev (tcl.pc -> tcl8.pc, and similar for tclConfig.sh and tclooConfig.sh). (From OE-Core rev: 8ec7bfc6644aff011545dfb0f5a415e79d7b0844) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b33b064b48
commit
eca49ca726
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
out_put=`tclsh tests/all.tcl -verbose bpse`
|
||||
out_put=`tclsh8 tests/all.tcl -verbose bpse`
|
||||
echo
|
||||
echo "${out_put}" | awk '/PASSED|FAILED|SKIPPED/{gsub(/PASSED/,"PASS"); gsub(/FAILED/,"FAIL"); gsub(/SKIPPED/,"SKIP"); if ($NF=="PASS"){print $NF": "$(NF-1)}else{print $NF": "$2}}' | uniq
|
||||
|
||||
|
||||
@@ -13,8 +13,8 @@ SECTION = "devel"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c"
|
||||
|
||||
DEPENDS += "tcl"
|
||||
RDEPENDS:${PN} = "tcl"
|
||||
DEPENDS += "tcl8"
|
||||
RDEPENDS:${PN} = "tcl8"
|
||||
|
||||
inherit autotools update-alternatives ptest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user