mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
tests: Name all tests ".t.pl"
This way, everything (for example, common.inc) can have its proper ".pl" ending and syntax highlighting works properly in every editor.
This commit is contained in:
parent
40531024c8
commit
1c5c75c44f
@ -17,8 +17,8 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
perl -MTest::Harness -e '$$Test::Harness::verbose=0; runtests @ARGV;' tests/*.pl
|
||||
perl -MTest::Harness -e '$$Test::Harness::verbose=0; runtests @ARGV;' tests/*.t.pl
|
||||
|
||||
.PHONY: test-verbose
|
||||
test-verbose:
|
||||
perl -MTest::Harness -e '$$Test::Harness::verbose=1; runtests @ARGV;' tests/*.pl
|
||||
perl -MTest::Harness -e '$$Test::Harness::verbose=1; runtests @ARGV;' tests/*.t.pl
|
||||
|
0
tests/common.inc → tests/common.pl
Normal file → Executable file
0
tests/common.inc → tests/common.pl
Normal file → Executable file
2
tests/normal.pl → tests/normal.t.pl
Normal file → Executable file
2
tests/normal.pl → tests/normal.t.pl
Normal file → Executable file
@ -8,7 +8,7 @@ use File::Copy;
|
||||
use File::Temp;
|
||||
use IO::Handle;
|
||||
|
||||
require("tests/common.inc");
|
||||
require("tests/common.pl");
|
||||
|
||||
my $tempDir = $ENV{'TMPDIR'} || "/tmp";
|
||||
|
@ -9,7 +9,7 @@ use File::Temp;
|
||||
use IO::Handle;
|
||||
use Errno qw(EROFS);
|
||||
|
||||
require("tests/common.inc");
|
||||
require("tests/common.pl");
|
||||
|
||||
my $tempDir = $ENV{'TMPDIR'} || "/tmp";
|
||||
|
Loading…
Reference in New Issue
Block a user