-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Avoid all git related stuff in Makefile unless within a git clone * Don't require specific version of ANSIColor * Don't use timeout for daemon tests * Remove pointless test math/aa (using problematic aa.cls) * Add new test feedback case * Add a fake testcase that provides hidden version info to ease interpretation of cpantesters * Remove obsolete tests math/aa from MANIFEST * fix typo * Fix POD typo
- Loading branch information
1 parent
2b503fd
commit e270463
Showing
9 changed files
with
82 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# -*- CPERL -*- | ||
#********************************************************************** | ||
# Record testing context for LaTeXML | ||
#********************************************************************** | ||
use LaTeXML; | ||
use LaTeXML::Util::Test; | ||
use File::Which; | ||
|
||
# Show the context in which we're running tests. | ||
# in particular, the versions of things which tend to cause problems, | ||
# and which aren't as obvious from a CPAN Tester's page. | ||
sub show_context { | ||
my @context = ("", "LaTeXML version $LaTeXML::VERSION"); | ||
# Find libxml2, libxslt | ||
{ | ||
require XML::LibXML; | ||
require XML::LibXSLT; | ||
push(@context, "XML::LibXML $XML::LibXML::VERSION; libxml2 " | ||
. XML::LibXML::LIBXML_RUNTIME_VERSION()); | ||
push(@context, "XML::LibXSLT $XML::LibXSLT::VERSION; libxslt " | ||
. XML::LibXSLT::LIBXSLT_RUNTIME_VERSION()); } | ||
|
||
# kpsewhich has it's own version, we need the version from tex, itself; So find tex: | ||
if (my $path = $ENV{LATEXML_KPSEWHICH}) { | ||
if (($path =~ s/kpsewhich/tex/i) && (-X $path)) { | ||
$tex = $path; } } | ||
if (!$tex) { # Else look for executable | ||
$tex = which("tex"); } | ||
if ($tex && open(my $texfh, '-|', $tex, '--version')) { # If we found one, hope it has TeX Live version in it's --version | ||
my $texv = <$texfh>; | ||
push(@context, $texv); # 1st line only | ||
close($texfh); } | ||
else { | ||
push(@context, "No TeX"); } | ||
|
||
my $ok = ok(1, "Test Context"); | ||
diag(join("\n ", @context)); | ||
return $ok; } | ||
|
||
plan tests => 1; | ||
show_context(); | ||
|
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.