master - [unit tests] remove old unit tests that weren't built or run.
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=38d77898ae7a824b3a05ee2a1812d7a85cca6373 Commit: 38d77898ae7a824b3a05ee2a1812d7a85cca6373 Parent: 7a475bef323cae74d602f2aae8074b106ddb3f4b Author: Joe Thornber <[email protected]> AuthorDate: Wed Jan 31 11:28:51 2018 +0000 Committer: David Teigland <[email protected]> CommitterDate: Fri Apr 20 11:10:46 2018 -0500
[unit tests] remove old unit tests that weren't built or run.
--- configure | 5 +- configure.in | 3 - old-tests/config/.gitignore | 1 - old-tests/config/Makefile | 5 - old-tests/config/config_t.c | 37 -- old-tests/config/empty_array.conf | 1 - old-tests/config/vg0 | 169 ------- old-tests/datastruct/hash_t.c | 106 ---- old-tests/dev-mgr/dev_cache_t.c | 54 -- old-tests/device/Makefile.in | 29 -- old-tests/device/dev_cache_t.c | 70 --- old-tests/device/fill_device.c | 27 - old-tests/device/random.c | 116 ----- old-tests/device/random.h | 32 -- old-tests/filters/Makefile.in | 35 -- old-tests/filters/pfilter_t.c | 121 ----- old-tests/filters/rfilter_t.c | 92 ---- old-tests/filters/sample.cfg | 21 - old-tests/format1/Makefile.in | 52 -- old-tests/format1/get_pvs_t.c | 73 --- old-tests/format1/get_vgs_t.c | 69 --- old-tests/format1/pretty_print.c | 86 ---- old-tests/format1/pretty_print.h | 28 -- old-tests/format1/read_pv_t.c | 75 --- old-tests/format1/read_vg_t.c | 75 --- old-tests/format1/write_vg_t.c | 77 --- old-tests/mm/Makefile.in | 33 -- old-tests/mm/dbg_malloc_t.c | 156 ------ unit-tests/datastruct/Makefile.in | 32 -- unit-tests/datastruct/TESTS | 1 - unit-tests/datastruct/bitset_t.c | 133 ----- unit-tests/mm/Makefile.in | 31 -- unit-tests/mm/TESTS | 1 - unit-tests/mm/check_results | 31 -- unit-tests/mm/pool_valgrind_t.c | 181 ------- unit-tests/regex/Makefile.in | 37 -- unit-tests/regex/TESTS | 3 - unit-tests/regex/dev_patterns | 2 - unit-tests/regex/devices.list | 880 ---------------------------------- unit-tests/regex/matcher_t.c | 156 ------ unit-tests/regex/matcher_t.expected | 16 - unit-tests/regex/matcher_t.expected2 | 1 - unit-tests/regex/matcher_t.expected3 | 3 - unit-tests/regex/nonprint_input | 4 - unit-tests/regex/nonprint_regexes | 3 - unit-tests/regex/parse_t.c | 118 ----- unit-tests/regex/random_regexes | 100 ---- 47 files changed, 1 insertions(+), 3380 deletions(-)
configure +1 -1
@@ -15860,7 +15860,7 @@ _ACEOF ################################################################################ -ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/raid/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile daemons/dmeventd/plugins/thin/Makefile daemons/dmfilemapd/Makefile daemons/lvmdbusd/Makefile daemons/lvmdbusd/lvmdbusd daemons/lvmdbusd/lvmdb.py daemons/lvmdbusd/lvm_shell_proxy.py daemons/lvmdbusd/path.py daemons/lvmetad/Makefile daemons/lvmpolld/Makefile daemons/lvmlockd/Makefile conf/Makefile conf/example.conf conf/lvmlocal.conf conf/command_profile_template.profile conf/metadata_profile_template.profile include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile include/lvm-version.h lib/raid/Makefile lib/snapshot/Makefile lib/thin/ Makefile lib/cache_segtype/Makefile libdaemon/Makefile libdaemon/client/Makefile libdaemon/server/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile python/Makefile python/setup.py scripts/blkdeactivate.sh scripts/blk_availability_init_red_hat scripts/blk_availability_systemd_red_hat.service scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/com.redhat.lvmdbus1.service scripts/dm_event_systemd_red_hat.service scripts/dm_event_systemd_red_hat.socket scripts/lvm2_cluster_activation_red_hat.sh scripts/lvm2_cluster_activation_systemd_red_hat.service scripts/lvm2_clvmd_systemd_red_hat.service scripts/lvm2_cmirrord_systemd_red_hat.service scripts/lvm2_lvmdbusd_systemd_red_hat.service scripts/lvm2_lvmetad_init_red_hat scripts/lvm2_lvmetad_systemd_red_hat.service scripts/lvm2_lvmetad_systemd_red_hat.socket scripts/lvm2_lvmpolld_init_red_hat scripts/lvm2_lvmpolld_systemd_red_hat.service scripts/lvm2_lvmpolld_systemd_red_h at.socket scripts/lvm2_lvmlockd_systemd_red_hat.service scripts/lvm2_lvmlocking_systemd_red_hat.service scripts/lvm2_monitoring_init_red_hat scripts/lvm2_monitoring_systemd_red_hat.service scripts/lvm2_pvscan_systemd_red_hat at .service scripts/lvm2_tmpfiles_red_hat.conf scripts/lvmdump.sh scripts/Makefile test/Makefile test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile unit-tests/datastruct/Makefile unit-tests/regex/Makefile unit-tests/mm/Makefile" +ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/raid/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile daemons/dmeventd/plugins/thin/Makefile daemons/dmfilemapd/Makefile daemons/lvmdbusd/Makefile daemons/lvmdbusd/lvmdbusd daemons/lvmdbusd/lvmdb.py daemons/lvmdbusd/lvm_shell_proxy.py daemons/lvmdbusd/path.py daemons/lvmetad/Makefile daemons/lvmpolld/Makefile daemons/lvmlockd/Makefile conf/Makefile conf/example.conf conf/lvmlocal.conf conf/command_profile_template.profile conf/metadata_profile_template.profile include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile include/lvm-version.h lib/raid/Makefile lib/snapshot/Makefile lib/thin/ Makefile lib/cache_segtype/Makefile libdaemon/Makefile libdaemon/client/Makefile libdaemon/server/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile python/Makefile python/setup.py scripts/blkdeactivate.sh scripts/blk_availability_init_red_hat scripts/blk_availability_systemd_red_hat.service scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/com.redhat.lvmdbus1.service scripts/dm_event_systemd_red_hat.service scripts/dm_event_systemd_red_hat.socket scripts/lvm2_cluster_activation_red_hat.sh scripts/lvm2_cluster_activation_systemd_red_hat.service scripts/lvm2_clvmd_systemd_red_hat.service scripts/lvm2_cmirrord_systemd_red_hat.service scripts/lvm2_lvmdbusd_systemd_red_hat.service scripts/lvm2_lvmetad_init_red_hat scripts/lvm2_lvmetad_systemd_red_hat.service scripts/lvm2_lvmetad_systemd_red_hat.socket scripts/lvm2_lvmpolld_init_red_hat scripts/lvm2_lvmpolld_systemd_red_hat.service scripts/lvm2_lvmpolld_systemd_red_h
at.socket scripts/lvm2_lvmlockd_systemd_red_hat.service scripts/lvm2_lvmlocking_systemd_red_hat.service scripts/lvm2_monitoring_init_red_hat scripts/lvm2_monitoring_systemd_red_hat.service scripts/lvm2_pvscan_systemd_red_hat at .service scripts/lvm2_tmpfiles_red_hat.conf scripts/lvmdump.sh scripts/Makefile test/Makefile test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -16637,9 +16637,6 @@ do
"test/unit/Makefile") CONFIG_FILES="$CONFIG_FILES test/unit/Makefile" ;;
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
"udev/Makefile") CONFIG_FILES="$CONFIG_FILES udev/Makefile" ;;
- "unit-tests/datastruct/Makefile") CONFIG_FILES="$CONFIG_FILES unit-tests/datastruct/Makefile" ;;
- "unit-tests/regex/Makefile") CONFIG_FILES="$CONFIG_FILES unit-tests/regex/Makefile" ;;
- "unit-tests/mm/Makefile") CONFIG_FILES="$CONFIG_FILES unit-tests/mm/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac
configure.in +0 -3
@@ -2254,9 +2254,6 @@ test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile -unit-tests/datastruct/Makefile -unit-tests/regex/Makefile -unit-tests/mm/Makefile ]) AC_OUTPUT
old-tests/config/.gitignore deleted +0 -1
@@ -1 +0,0 @@ -!Makefile
old-tests/config/Makefile deleted +0 -5
@@ -1,5 +0,0 @@ -config_t: config_t.c - gcc -g -I../../include config_t.c -L../../lib -llvm -o config_t - -clean: - rm config_t
old-tests/config/config_t.c deleted +0 -37
@@ -1,37 +0,0 @@ -/* -* Test program that reads, then writes a config file. -*/ -#include <stdio.h> - -#include "config.h" - -int main (int argc,char **argv) -{ -struct config_file *cf; - -if (argc !=2 ) { -fprintf (stderr,"Usage: %s <config_file>\n" , argv[0 ]); -exit (1 ); - } - - cf =create_config_file (); -if (cf ==NULL ) { -fprintf (stderr,"Couldn't create config_file object.\n" ); -exit (1 ); - } - - -if (!read_config (cf, argv[1 ])) { -fprintf (stderr,"Couldn't read config file '%s'\n" , argv[0 ]); -exit (1 ); - } - -if (!write_config (cf,"out" )) { -fprintf (stderr,"Couldn't write config file 'out'\n" ); -exit (1 ); - } - -destroy_config_file (cf); -dump_memory (); -return 0 ; -}
old-tests/config/empty_array.conf deleted +0 -1
@@ -1 +0,0 @@ -foo = []
old-tests/config/vg0 deleted +0 -169
169 lines not on this page · raw message
old-tests/datastruct/hash_t.c deleted +0 -106
106 lines not on this page · raw message
old-tests/dev-mgr/dev_cache_t.c deleted +0 -54
54 lines not on this page · raw message
old-tests/device/Makefile.in deleted +0 -29
@@ -1,29 +0,0 @@ -# -# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -# Copyright (C) 2004 Red Hat, Inc. All rights reserved. -# -# This file is part of LVM2. -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions -# of the GNU General Public License v.2. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = @top_builddir@ -VPATH = @srcdir@ - -SOURCES=\ - dev_cache_t.c - -TARGETS=dev_cache_t - -include $(top_builddir)/make.tmpl - -dev_cache_t: dev_cache_t.o $(top_srcdir)/lib/liblvm.a - $(CC) -o dev_cache_t dev_cache_t.o -L$(top_builddir)/lib -llvm -
old-tests/device/dev_cache_t.c deleted +0 -70
70 lines not on this page · raw message
old-tests/device/fill_device.c deleted +0 -27
@@ -1,27 +0,0 @@ -/* -* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -* Copyright (C) 2004 Red Hat, Inc. All rights reserved. -* -* This file is part of LVM2. -* -* This copyrighted material is made available to anyone wishing to use, -* modify, copy, or redistribute it subject to the terms and conditions -* of the GNU General Public License v.2. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software Foundation, -* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - -#include "device.h" -#include "random.h" - -#include <stdio.h> - - - - -int main (int argc,char **argv) -{ - -}
old-tests/device/random.c deleted +0 -116
116 lines not on this page · raw message
old-tests/device/random.h deleted +0 -32
@@ -1,32 +0,0 @@ -/* -* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -* Copyright (C) 2004 Red Hat, Inc. All rights reserved. -* -* This file is part of LVM2. -* -* This copyrighted material is made available to anyone wishing to use, -* modify, copy, or redistribute it subject to the terms and conditions -* of the GNU General Public License v.2. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software Foundation, -* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - -/* -* Random number generator snarfed from the -* Stanford Graphbase. -*/ - -#ifndef _LVM_RANDOM_H -#define _LVM_RANDOM_H - -void rand_init (int32_t seed); -int32_t rand_get (void ); - -/* -* Note this will reset the seed. -*/ -int rand_check (void ); - -#endif
old-tests/filters/Makefile.in deleted +0 -35
@@ -1,35 +0,0 @@ -# -# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -# Copyright (C) 2004 Red Hat, Inc. All rights reserved. -# -# This file is part of LVM2. -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions -# of the GNU General Public License v.2. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = @top_builddir@ -VPATH = @srcdir@ - -SOURCES=\ - rfilter_t.c \ - pfilter_t.c - -TARGETS=\ - rfilter_t \ - pfilter_t - -include $(top_builddir)/make.tmpl - -rfilter_t: rfilter_t.o $(top_srcdir)/lib/liblvm.a - $(CC) -o rfilter_t rfilter_t.o -L$(top_builddir)/lib -llvm - -pfilter_t: pfilter_t.o $(top_srcdir)/lib/liblvm.a - $(CC) -o pfilter_t pfilter_t.o -L$(top_builddir)/lib -llvm -
old-tests/filters/pfilter_t.c deleted +0 -121
121 lines not on this page · raw message
old-tests/filters/rfilter_t.c deleted +0 -92
92 lines not on this page · raw message
old-tests/filters/sample.cfg deleted +0 -21
@@ -1,21 +0,0 @@ -devices { - - # first match is final, eg. /dev/ide/cdrom - # get's rejected due to the first pattern - - filter=["r/cdrom/", # don't touch the music ! - "a/hd[a-d][0-9]+/", - "a/ide/", - "a/sd/", - "a/md/", - "a|loop/[0-9]+|", # accept devfs style loop back - "r/loop/", # and reject old style - "a/dasd/", - "a/dac960/", - "a/nbd/", - "a/ida/", - "a/cciss/", - "a/ubd/", - "r/.*/"] # reject all others - -}
old-tests/format1/Makefile.in deleted +0 -52
52 lines not on this page · raw message
old-tests/format1/get_pvs_t.c deleted +0 -73
73 lines not on this page · raw message
old-tests/format1/get_vgs_t.c deleted +0 -69
69 lines not on this page · raw message
old-tests/format1/pretty_print.c deleted +0 -86
86 lines not on this page · raw message
old-tests/format1/pretty_print.h deleted +0 -28
@@ -1,28 +0,0 @@ -/* -* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -* Copyright (C) 2004 Red Hat, Inc. All rights reserved. -* -* This file is part of LVM2. -* -* This copyrighted material is made available to anyone wishing to use, -* modify, copy, or redistribute it subject to the terms and conditions -* of the GNU General Public License v.2. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software Foundation, -* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - -#ifndef _LVM_PRETTY_PRINT -#define _LVM_PRETTY_PRINT - -#include "metadata.h" - -#include <stdio.h> - -void dump_pv (struct physical_volume *pv,FILE *fp); -void dump_lv (struct logical_volume *lv,FILE *fp); -void dump_vg (struct volume_group *vg,FILE *fp); -void dump_vg_names (struct list_head *vg_names,FILE *fp); - -#endif
old-tests/format1/read_pv_t.c deleted +0 -75
75 lines not on this page · raw message
old-tests/format1/read_vg_t.c deleted +0 -75
75 lines not on this page · raw message
old-tests/format1/write_vg_t.c deleted +0 -77
77 lines not on this page · raw message
old-tests/mm/Makefile.in deleted +0 -33
@@ -1,33 +0,0 @@ -# -# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -# Copyright (C) 2004 Red Hat, Inc. All rights reserved. -# -# This file is part of LVM2. -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions -# of the GNU General Public License v.2. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = @top_builddir@ -VPATH = @srcdir@ - -SOURCES=\ - dbg_malloc_t.c - -TARGETS=dbg_malloc_t - -include $(top_builddir)/make.tmpl - -dbg_malloc_t: dbg_malloc_t.o - $(CC) $(CFLAGS) -o dbg_malloc_t dbg_malloc_t.o \ - -L$(top_builddir)/lib -llvm - -pool_t: pool_t.o - $(CC) $(CFLAGS) -o pool_t pool_t.o -L$(top_builddir)/lib -llvm -
old-tests/mm/dbg_malloc_t.c deleted +0 -156
156 lines not on this page · raw message
unit-tests/datastruct/Makefile.in deleted +0 -32
@@ -1,32 +0,0 @@ -# -# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -# Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved. -# -# This file is part of LVM2. -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions -# of the GNU General Public License v.2. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = @top_builddir@ - -SOURCES=\ - bitset_t.c - -TARGETS=\ - bitset_t - -include $(top_builddir)/make.tmpl - -INCLUDES += -I$(top_srcdir)/libdm -DM_DEPS = $(top_builddir)/libdm/libdevmapper.so -DM_LIBS = -ldevmapper $(LIBS) - -bitset_t: bitset_t.o $(DM_DEPS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bitset_t.o $(DM_LIBS)
unit-tests/datastruct/TESTS deleted +0 -1
@@ -1 +0,0 @@ -bitset iteration:$TEST_TOOL ./bitset_t
unit-tests/datastruct/bitset_t.c deleted +0 -133
133 lines not on this page · raw message
unit-tests/mm/Makefile.in deleted +0 -31
@@ -1,31 +0,0 @@ -# -# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -# Copyright (C) 2004 Red Hat, Inc. All rights reserved. -# -# This file is part of LVM2. -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions -# of the GNU General Public License v.2. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = @top_builddir@ -VPATH = @srcdir@ - -SOURCES=\ - pool_valgrind_t.c - -TARGETS=\ - pool_valgrind_t - -include $(top_builddir)/make.tmpl -DM_LIBS = -ldevmapper $(LIBS) - -pool_valgrind_t: pool_valgrind_t.o - $(CC) $(CFLAGS) -o $@ pool_valgrind_t.o $(LDFLAGS) $(DM_LIBS) -
unit-tests/mm/TESTS deleted +0 -1
@@ -1 +0,0 @@ -valgrind pool awareness:valgrind ./pool_valgrind_t 2>&1 | ./check_results
unit-tests/mm/check_results deleted +0 -31
@@ -1,31 +0,0 @@ -#!/usr/bin/env ruby1.9 - -require 'pp' - -patterns = [ - /Invalid read of size 1/, - /Invalid write of size 1/, - /Invalid read of size 1/, - /still reachable: [0-9,]+ bytes in 3 blocks/ - ] - -lines = STDIN.readlines -pp lines - -result = catch(:done) do - patterns.each do |pat| - loop do - throw(:done, false) if lines.size == 0 - - line = lines.shift - if line =~ pat - STDERR.puts "matched #{pat}" - break; - end - end - end - - throw(:done, true) -end - -exit(result ? 0 : 1)
unit-tests/mm/pool_valgrind_t.c deleted +0 -181
181 lines not on this page · raw message
unit-tests/regex/Makefile.in deleted +0 -37
@@ -1,37 +0,0 @@ -# -# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -# Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved. -# -# This file is part of LVM2. -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions -# of the GNU General Public License v.2. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = @top_builddir@ - -SOURCES=\ - parse_t.c \ - matcher_t.c - -TARGETS=\ - parse_t \ - matcher_t - -include $(top_builddir)/make.tmpl - -INCLUDES += -I$(top_srcdir)/libdm -DM_DEPS = $(top_builddir)/libdm/libdevmapper.so -DM_LIBS = -ldevmapper $(LIBS) - -parse_t: parse_t.o $(DM_DEPS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ parse_t.o $(DM_LIBS) - -matcher_t: matcher_t.o $(DM_DEPS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ matcher_t.o $(DM_LIBS)
unit-tests/regex/TESTS deleted +0 -3
@@ -1,3 +0,0 @@ -dfa matching:$TEST_TOOL ./matcher_t --fingerprint dev_patterns < devices.list > matcher_t.output && diff -u matcher_t.expected matcher_t.output -dfa matching:$TEST_TOOL ./matcher_t --fingerprint random_regexes < /dev/null > matcher_t.output && diff -u matcher_t.expected2 matcher_t.output -dfa with non-print regex chars:$TEST_TOOL ./matcher_t nonprint_regexes < nonprint_input > matcher_t.output && diff -u matcher_t.expected3 matcher_t.output
unit-tests/regex/dev_patterns deleted +0 -2
@@ -1,2 +0,0 @@ -"loop/[0-9]+" -"hd[a-d][0-5]+"
unit-tests/regex/devices.list deleted +0 -880
880 lines not on this page · raw message
unit-tests/regex/matcher_t.c deleted +0 -156
7 lines not on this page · raw message
unit-tests/regex/matcher_t.expected deleted +0 -16
Lines of this file are not shown. View the raw message.
unit-tests/regex/matcher_t.expected2 deleted +0 -1
Lines of this file are not shown. View the raw message.
unit-tests/regex/matcher_t.expected3 deleted +0 -3
Lines of this file are not shown. View the raw message.
unit-tests/regex/nonprint_input deleted +0 -4
Lines of this file are not shown. View the raw message.
unit-tests/regex/nonprint_regexes deleted +0 -3
Lines of this file are not shown. View the raw message.
unit-tests/regex/parse_t.c deleted +0 -118
118 lines not on this page · raw message
unit-tests/regex/random_regexes deleted +0 -100
100 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.