1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

Replace the custom test-run target with the standard make check.

A little fix is needed for the udev-test.pl script (to be called with the
proper path), but this allows for the test binaries to be only built when
running the tests themselves.
This commit is contained in:
Diego Elio 'Flameeyes' Pettenò 2009-08-07 02:23:01 +02:00 committed by Kay Sievers
parent 59d93adb29
commit 405e606f86
2 changed files with 4 additions and 4 deletions

View File

@ -41,9 +41,6 @@ changelog:
@ cat ChangeLog.tmp >> ChangeLog
@ rm ChangeLog.tmp
test-run:
cd test && ./udev-test.pl
test-install:
rm -rf $(PWD)/udev-test-install/
make DESTDIR=$(PWD)/udev-test-install install
@ -190,6 +187,9 @@ extras_v4l_id_v4l_id_LDADD = libudev/libudev-private.la
# ------------------------------------------------------------------------------
# Tests
# ------------------------------------------------------------------------------
TESTS = test/udev-test.pl
check_PROGRAMS = \
libudev/test-libudev \
udev/test-udev

View File

@ -22,7 +22,7 @@ use strict;
my $PWD = $ENV{PWD};
my $sysfs = "sys/";
my $udev_bin = "../udev/test-udev";
my $udev_bin = "udev/test-udev";
my $valgrind = 0;
my $udev_bin_valgrind = "valgrind --tool=memcheck --leak-check=yes --quiet $udev_bin";
my $udev_root = "udev-root/";