flightaware / Pgtcl

Tcl client side interface to PostgreSQL (libpgtcl)
https://flightaware.github.io/Pgtcl/
BSD 3-Clause "New" or "Revised" License
31 stars 10 forks source link

'test' target fails, tests/all.tcl file is not shipped #28

Closed Mno-hime closed 5 years ago

Mno-hime commented 5 years ago

test target fails for me with:

$ gmake test
LD_LIBRARY_PATH=".:/usr/lib/amd64:" PATH=".:/usr/lib/amd64:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin" TCLLIBPATH="." TCL_LIBRARY=`echo /jenkins/jobs/oi-userland/workspace/components/tcl/tcl/tcl8.6.7/library` /usr/bin/tclsh8.6 `echo /export/home/newman/ws/oi-userland/components/tcl/pgtcl/Pgtcl-2.6.1/tests/all.tcl` 
couldn't read file "/export/home/newman/ws/oi-userland/components/tcl/pgtcl/Pgtcl-2.6.1/tests/all.tcl": no such file or directory
gmake: *** [Makefile:240: test] Error 1

It seems that tests/all.tcl file is not shipped.

resuna commented 5 years ago

Should this be fixed by adding a stub "all.tcl" or changing Makefile[.in] to run pgtcl.test?

Mno-hime commented 5 years ago

Either way, though, I don't know what's more TCL-ish...

resuna commented 4 years ago

Had to change Makefile.in to change directory to the tests directory before running tests.