poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU poke 2.0.91 pre-released in alpha.gnu.org


From: Jose E. Marchesi
Subject: Re: GNU poke 2.0.91 pre-released in alpha.gnu.org
Date: Sat, 05 Feb 2022 03:11:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Bruno.

> Running target unix
> Using /usr/share/dejagnu/baseboards/unix.exp as board description file for 
> target.
> Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
> Using /home/bruno/poke-2.0.91/testsuite/config/unix.exp as 
> tool-and-target-specific interface file.
> Running /home/bruno/poke-2.0.91/testsuite/poke.cmd/cmd.exp ...
> Running /home/bruno/poke-2.0.91/testsuite/poke.libpoke/libpoke.exp ...
> Running /home/bruno/poke-2.0.91/testsuite/poke.map/map.exp ...
> ERROR: tcl error sourcing /home/bruno/poke-2.0.91/testsuite/poke.map/map.exp.
> ERROR: bad switch "-119": must be -all, -about, -indices, -inline, -expanded, 
> -line, -linestop, -lineanchor, -nocase, -start, or --
>     while executing
> "regexp $texttmp ${output}"

That is most certainly due to a too old and buggy version of dejagnu in
that machine.

This is what git dejagnu uses instead (lib/dg.exp):

  if { ![regexp -- $texttmp $output] } {

Note the --.

Same for the another error.

Maybe you want to patch the dg.exp in your machine, to avoid this
happening while running dejagnu-based testsuites in the future.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]