TOPSRCDIR is relative, so load must be called from the pwd. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- test/load.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/test/load.c b/test/load.c index f9d6cf5..96479a0 100644 --- a/test/load.c +++ b/test/load.c @@ -40,6 +40,8 @@ int main(int argc, char **argv) const char *str; db = libwacom_database_new_for_path(TOPSRCDIR"/data"); + if (!db) + printf("Failed to load data from %s", TOPSRCDIR"/data"); assert(db); device = libwacom_new_from_usbid(db, 0, 0, NULL); -- 1.7.10 ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel