make TEST=ipodbgopt in sqlite3: problem with TCLSH

On Linux, when I run "make TEST=ipodbgopt" in
MultiSource/Applications/sqlite3 I get:

make[4]: Entering directory
Compiling shell.c to Output/shell.bc
make[4]: execvp:
Permission denied
make[4]: *** [/home/foad/svn/llvm-project/test-suite/trunk/MultiSource/Applications/sqlite3/test15.sql]
Error 127
make[4]: Leaving directory
make[3]: *** [sqlite3/.maketest] Error 2
make[3]: Leaving directory
make[2]: *** [Applications/.maketest] Error 2
make[2]: Leaving directory `/home/foad/llvm/poo/build/test-suite/MultiSource'
make[1]: *** [MultiSource/.maketest] Error 2
make[1]: Leaving directory `/home/foad/llvm/poo/build/test-suite'
make: *** [test] Error 2

... because the makefile uses $(TCLSH), which hasn't been set to
anything. How is this supposed to work? Does the attached patch look
reasonable? It seems to work for me.

Alternatively, smalltest.tcl and speedtest.tcl could be given the
svn:executable property, so that if $(TCLSH) is empty they just get
executed directly.


patch.tclsh (491 Bytes)

Doesn't the toplevel configure set TCLSH in Makefile.config?

Best regards,

Hmm, yes. Something must have gone wrong with my configure.