2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 02:49:00 +00:00

Upgrade to qtest 1.7

This commit is contained in:
Jay Berkenbilt 2021-10-26 09:49:34 -04:00
parent 1b59872b36
commit 501b49e022

View File

@ -33,7 +33,7 @@ require TestDriver;
if ((@ARGV == 1) && ($ARGV[0] eq '--version'))
{
print "$whoami version 1.6\n";
print "$whoami version 1.7\n";
exit 0;
}
if ((@ARGV == 1) && ($ARGV[0] eq '--print-path'))
@ -545,7 +545,7 @@ sub tc_do_initial_checks
# Look for coverage calls in the source subject to certain
# lexical constraints
my ($lscope, $case);
if (m/^\s*\&?QTC(?:::|\.)TC\(\"([^\"]+)\",\s*\"([^\"]+)\"/)
if (m/^\s*\&?(?:QTC|qtc)(?:::|\.)TC\(\"([^\"]+)\",\s*\"([^\"]+)\"/)
{
# C++, Java, Perl, etc.
($lscope, $case) = ($1, $2);