Right location for test config files?

David Faure faure at kde.org
Thu Dec 8 18:23:30 GMT 2011


On Monday 21 November 2011 20:27:28 Andriy Rysin wrote:
> In regards to defect below, what's the right location for some xml files
> I use in keyboard daemon tests? Currently the files I have is to test
> the code for parsing /usr/share/X11/xkb/rules/evdev.xml but some others
> could be added later...
> 
> I tried to find other tests in kde-workspace but none of them seem to
> use non-program files.

kdelibs has many of these, and the define KDESRCDIR (set by kde4_add_unit_test) 
can be used to point to the files in the source directory while running the 
test.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5





More information about the kde-core-devel mailing list