cpdb-libs 2.0b4 #25
tillkamppeter
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the forth beta release for cpdb-libs 2.0.0 we have now added a
make check
test and promoted the sample frontend as a developing and testing tool.make test
/make check
The script tools/run-tests.sh runs the
cpdb-text-frontend
text mode example frontend and stops it by supplying "stop" to its standard input.To make it possible to test backends which are not installed into the system, one can now set the environment variable CPDB_BACKEND_INFO_DIR to the directory where the backend info file for the backend is, for example in its source tree.
make install
We use the sample frontend
cpdb-text-frontend
for several tests now, especially "make check" and also the autopkgtests in the Debian/Ubuntu packages. They are also useful for backend developers for manual testing.As we install the development and debugging tools now, they should be more easily identifiable as part of CPDB. Therefore they get
cpdb-
-prefixed names.cpdb-text-frontend
: Use larger and more easily adjustable string bufferscpdbResurrectPrinterFromFile()
, when called with an invalid file name, caused a crash.This discussion was created from the release cpdb-libs 2.0b4.
Beta Was this translation helpful? Give feedback.
All reactions