summaryrefslogtreecommitdiff
path: root/test/Makefile.am
AgeCommit message (Collapse)Author
2014-08-18src/scsi_id/Makefile.am,test/Makefile.am: fix build on debian jessie, issue #97Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-06src/libudev/libudev.sym: mark most symbols as hiddenAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-05src/shared: refactor shared codeAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-01-09device-nodes: move device node specific code to own fileDave Reisner
In the process, rename udev_encode_string which is poorly named for what it does. It deals specifically with encoding names that udev creates and has its own rules: utf8 is valid but some ascii is not (e.g. path separators), and everything else is simply escaped. Rename it to encode_devnode_name. Adopted for eudev: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-01-09move utf8 functions from libudev-private.h to utf8.hDave Reisner
There's now some more obvious overlap amongst the two utf8 validation functions, but no more than there already was previously. This also adds some menial tests for anyone who wants to do more merging of these two in the future. Adopted for eudev: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-01-22Fix test-udev.c to build and work on a uclibc systemAnthony G. Basile
Two issues are addressed: 1) Makefile.am has to provide config.h information on HAVE_UNSHARE to test-udev.c. 2) MS_PRIVATE and MS_REC are defined in <linux/fs.h> which must be directly included on a uclibc system because of different header stackings. Its inclusion makes no difference on a glibc system. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2012-11-26Replace unused DISTCLEAN_LOCAL_HOOKS and correct path in test/Makefile.amNick Vinson
The DISTCLEAN_LOCAL_HOOKS variable is not used by automake when generating Makefiles. This has been replaced with the clean-local target which does get used. The clean-local target is defined to be dependent on the test-sys-distclean target as recommended in the automake manual. The paths in test-sys-distclean have been corrected to ensure that test/sys is deleted during 'make distcheck'. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-24Fix paths: test/udev-test.pl now works under sudo make distcheckAnthony G. Basile
We move the test-udev.c and test-libudev.c from src/test to test. This corrects the a problem with hard coded relative paths finding the test/test/sys directory created by test/udev-test.pl. This commit draws heavily from nvinson patch in https://github.com/gentoo/eudev/pull/20 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-19test/Makefile.am: fix tests for make distcheckAnthony G. Basile
At several points in the forked code, top_srcdir and top_builddir are mixed up. It is not clear if this is an upstream bug or if this is a result of the initial restructuring of the build system. This commit addresses this issue for tests triggered during make distcheck. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-15Second step of revamping the build systemAnthony G. Basile
The original Makefile.am was drawn to the top level. This commit breaks it out into the various directories with SUBDIRS connecting them. This makes each directory easier to maintain.