aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-07-15 06:01:52 +0200
committerJay Berkenbilt <ejb@ql.org>2009-07-15 06:01:52 +0200
commit86f2d3449c651674b92b1249186375ad821f9017 (patch)
tree2e5af880c7aba03fa9a2d65041da575d5281ddd1 /libtests/qtest
parenta1c0aaf03adf0344b34dd591f9103479f249e965 (diff)
downloadqpdf-86f2d3449c651674b92b1249186375ad821f9017.tar.zst
windows fixes; okay for modern compilers
git-svn-id: svn+q:///qpdf/trunk@685 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libtests/qtest')
-rw-r--r--libtests/qtest/qexc.test8
1 files changed, 2 insertions, 6 deletions
diff --git a/libtests/qtest/qexc.test b/libtests/qtest/qexc.test
index b8632b9b..350ceba8 100644
--- a/libtests/qtest/qexc.test
+++ b/libtests/qtest/qexc.test
@@ -14,18 +14,14 @@ my @tests =
(['general exception', 2],
['internal error', 3],
['system exception', 2],
- ['library exception', 3, "uncaught exception: .+\n"], # fails on VC7?
);
for (my $i = 0; $i < scalar(@tests); ++$i)
{
- my $output = +((-f "test$i.out")
- ? {$td->FILE => "test$i.out"}
- : {$td->REGEXP => $tests[$i]->[2]});
- $output->{$td->EXIT_STATUS} = $tests[$i]->[1];
$td->runtest($tests[$i]->[0],
{$td->COMMAND => "qexc $i"},
- $output,
+ {$td->FILE => "test$i.out",
+ $td->EXIT_STATUS => $tests[$i]->[1]},
$td->NORMALIZE_NEWLINES);
}