[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make check
From: |
Joao Cardoso |
Subject: |
Re: make check |
Date: |
Mon, 25 Oct 1999 21:43:37 +0100 |
Thomas Walter wrote:
> Hello,
> I investigated some time to the 'make check'.
Thanks. I will get the time to "chech" this :-).
But dejagnu is a mess: 3 components! The last expect available (5.31) at
http://expect.nist.gov only
work with tcl-8.2. The last dejagnu snapshot I could locate is dejagnu-971222,
at
ftp.cygnus.com/pub/dejagnu
I have to compile them myself, as I'm not a linux user :(
Until now, I had no success (with last octave only) using either one or even
"mixing" them :-)
Thanks,
Joao
>
> On my linux system I had 'expect version 5.24.1' but no dejagnu.
> I Downloaded 'dejagnu-1.3' from my nearest GNU mirror and unpacked it.
> Now 'cd' into 'dejagnu-1.3/dejagnu'.
> Call from your shell
> mkdir ~/dejagnu
> mkdir ~/dejagnu/lib
> mkdir ~/bin
> cp runtest* ~/bin
> cp lib/* ~/dejagnu/lib
>
> Change to your octave-2.1.19/test directory and call
> make RUNTEST=$HOME/bin/runtest check
> Ignore the message about missing global config file. This is a file
> 'site.exp' which may be somewhere but you can savely ignore it.
> Now the check should pass everthing except 'mktime-1.exp'.
> Is you still have problems edit 'test/Makefile' and change the check
> target to
>
> check:
> @if test -n "$(RUNTEST)"; then \
> $(SET_LD_LIBRARY_PATH) $(RUNTEST) \
> OCTAVE="$(OCTAVE_BINARY)" \
> OCTAVE_SCRIPT_PATH="$(OCTAVE_SCRIPT_PATH)" \
> --tool octave --srcdir $(srcdir) -v -v $(RUNTEST_FLAGS); \
> else \
> echo "***"; \
> echo "*** Sorry, I can't run tests without DejaGnu"; \
> echo "***"; \
> fi
>
> which invreases the verbosity level and you should see the path to
> look for files. Anothe helper may be
>
> ~/bin/runtest --host unix-octave --debug -v -v --srcdir . --tool octave
> octave.test/args/args.exp
>
> Perhaps this helps you
>
> Bye
> Thomas
>
> --
> Latest news:
> Einbruch bei Microsoft, Bill Gates hat Windows offen gelassen.
>
> ----------------------------------------------
> Dipl. Phys. Thomas Walter
> Inst. f. Physiklische Chemie II
> Egerlandstr. 3 Tel.: ++9131-85 27326 / 27330
> 91058 Erlangen, Germany email: address@hidden
--
Joao Cardoso | e-mail: address@hidden
INESC, R. Jose Falcao 110 | tel: + 351 2 2094322
4050 Porto, Portugal | fax: + 351 2 2008487