summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-09-04 09:58:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-09-04 09:58:53 -0700
commit23a8b6ecd0498dc5a6512cbb9e1aeca4bf5dd61b (patch)
tree64c53ecfb01bd9030188ab27adc2b7ee858f6c9a
parent8855b17a2dc84b50da6e9a5f9ccffdf942bc8c94 (diff)
parent53058ed98a3bb1340be23e907960524fd26c4c73 (diff)
Merge pull request #27 from preaction/perl-changes
Perl changes
-rw-r--r--.gitignore1
-rw-r--r--runtests.pl3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9cfb3a6..8af9a0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@
*~
*.bak
+*.swp
*.diff
*#
scanners.c
diff --git a/runtests.pl b/runtests.pl
index 2e2b795..1dfdcf6 100644
--- a/runtests.pl
+++ b/runtests.pl
@@ -1,9 +1,12 @@
#!/usr/bin/env perl
+use 5.006;
use warnings;
use strict;
+use utf8;
use Term::ANSIColor;
use IO::Handle;
use IPC::Open2;
+$|++;
my $usage="runtests.pl SPEC PROGRAM\nSet ANSI_COLORS_DISABLED=1 if you redirect to a file.\nSet PATT='...' to restrict tests to sections matching a regex.\n";