Browse Source

test: Rename TAP test directories from test to t

Guillem Jover 9 years ago
parent
commit
ace4a0e8f7

+ 3 - 3
Makefile.am

@@ -143,12 +143,12 @@ coverage-clean:
 endif
 
 test_scripts = \
-	test/pod.t \
-	test/critic.t \
+	t/pod.t \
+	t/critic.t \
 	$(nil)
 
 test_data = \
-	test/critic/perlcriticrc \
+	t/critic/perlcriticrc \
 	$(nil)
 
 include $(top_srcdir)/check.am

+ 1 - 1
configure.ac

@@ -134,7 +134,7 @@ AC_CONFIG_FILES([ Makefile
 		  lib/compat/Makefile
 		  lib/dpkg/Makefile
 		  lib/dpkg/libdpkg.pc
-		  lib/dpkg/test/Makefile
+		  lib/dpkg/t/Makefile
 		  doc/Doxyfile
 		  man/Makefile
 		  po/Makefile.in

+ 1 - 1
lib/dpkg/Makefile.am

@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = . test
+SUBDIRS = . t
 
 localedir = $(datadir)/locale
 pkgconfdir = $(sysconfdir)/@PACKAGE@

lib/dpkg/test/.gitignore → lib/dpkg/t/.gitignore


lib/dpkg/test/Makefile.am → lib/dpkg/t/Makefile.am


lib/dpkg/test/t-ar.c → lib/dpkg/t/t-ar.c


lib/dpkg/test/t-arch.c → lib/dpkg/t/t-arch.c


lib/dpkg/test/t-buffer.c → lib/dpkg/t/t-buffer.c


lib/dpkg/test/t-c-ctype.c → lib/dpkg/t/t-c-ctype.c


lib/dpkg/test/t-command.c → lib/dpkg/t/t-command.c


lib/dpkg/test/t-deb-version.c → lib/dpkg/t/t-deb-version.c


lib/dpkg/test/t-error.c → lib/dpkg/t/t-error.c


lib/dpkg/test/t-macros.c → lib/dpkg/t/t-macros.c


lib/dpkg/test/t-mod-db.c → lib/dpkg/t/t-mod-db.c


lib/dpkg/test/t-path.c → lib/dpkg/t/t-path.c


lib/dpkg/test/t-pkg-list.c → lib/dpkg/t/t-pkg-list.c


lib/dpkg/test/t-pkg-queue.c → lib/dpkg/t/t-pkg-queue.c


lib/dpkg/test/t-pkginfo.c → lib/dpkg/t/t-pkginfo.c


lib/dpkg/test/t-progname.c → lib/dpkg/t/t-progname.c


lib/dpkg/test/t-string.c → lib/dpkg/t/t-string.c


lib/dpkg/test/t-subproc.c → lib/dpkg/t/t-subproc.c


lib/dpkg/test/t-tar.t → lib/dpkg/t/t-tar.t


lib/dpkg/test/t-tarextract.c → lib/dpkg/t/t-tarextract.c


lib/dpkg/test/t-test-skip.c → lib/dpkg/t/t-test-skip.c


lib/dpkg/test/t-test.c → lib/dpkg/t/t-test.c


lib/dpkg/test/t-trigger.c → lib/dpkg/t/t-trigger.c


lib/dpkg/test/t-varbuf.c → lib/dpkg/t/t-varbuf.c


lib/dpkg/test/t-version.c → lib/dpkg/t/t-version.c


+ 2 - 2
test/critic.t

@@ -122,13 +122,13 @@ my @policies = qw(
 );
 
 Test::Perl::Critic->import(
-    -profile => 'test/critic/perlcriticrc',
+    -profile => 't/critic/perlcriticrc',
     -verbose => 8,
     -include => \@policies,
     -only => 1,
 );
 
-my @dirs = qw(test src/t utils/t scripts/t dselect scripts/Dpkg);
+my @dirs = qw(t src/t utils/t scripts/t dselect scripts/Dpkg);
 my @files = glob 'scripts/Dpkg.pm scripts/*.pl scripts/changelog/*.pl';
 push @files, Perl::Critic::Utils::all_perl_files(@dirs);
 

test/critic/perlcriticrc → t/critic/perlcriticrc


test/pod.t → t/pod.t