On Wed, Feb 18, 2015 at 09:36:00PM +1100, Ben Elliston wrote:
> > Any hints how I can convert a test from the Gcc testsuite to a
> > standalone Dejagnu test? That would help debugging the problem.
>
> Step 1 is to find a way to run the test from the command line. Look in
> the .log file for clues on that. Then come back.
Hm, I've copied the .exp-scripts from gcc/testsuite/config and
gcc/testsuite/lib and s390.exp and the test program to a separate
directory ~/tmp/expecttest, created symlinks from
~/src/git/gcc/build/gcc/... to a directory in PATH and
$ /usr/bin/expect -- /usr/share/dejagnu/runtest.exp \
--tool gcc s390.exp=xvec-sigs-vec_all_eq-2b.C
and then it works fine.
So, the problem is caused by something that DejaGnu does with the
environment that runs the expect script?
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany
_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu