Skip to content

Commit 61861f3

Browse files
committed
tests: Remove debugging leftovers from TESTrun.
1 parent 3c015dd commit 61861f3

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/TESTrun

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ use POSIX qw( WEXITSTATUS WIFEXITED);
2929
use Cwd qw(abs_path getcwd);
3030
use File::Path qw(mkpath); # mkpath works with ancient perl, as well as newer perl
3131
use File::Spec;
32-
use Data::Dumper; # for debugging.
3332

3433
# these are created in the directory where we are run, which might be
3534
# a build directory.
@@ -294,8 +293,6 @@ sub runtest {
294293
}
295294
}
296295

297-
#print sprintf("END: %08x\n", $r);
298-
299296
if($r == 0) {
300297
if($linecount == 0) {
301298
printf " %-40s: passed\n", $name;
@@ -368,12 +365,10 @@ sub loadconfighash {
368365
while(<CONFIG_H>) {
369366
chomp;
370367
if(/^\#define (.*) 1/) {
371-
#print "Setting $1\n";
372368
$main::confighhash->{$1} = 1;
373369
}
374370
}
375371
close(CONFIG_H);
376-
#print Dumper($main::confighhash);
377372

378373
# also run tcpdump --fp-type to get the type of floating-point
379374
# arithmetic we're doing, setting a HAVE_{fptype} key based
@@ -425,7 +420,6 @@ sub runOneComplexTest {
425420
my $configset = $testconfig->{config_set};
426421
my $configunset = $testconfig->{config_unset};
427422
my $ch = loadconfighash();
428-
#print Dumper($ch);
429423

430424
if(defined($configset)) {
431425
$foundit = ($ch->{$configset} == 1);
@@ -446,9 +440,6 @@ sub runOneComplexTest {
446440
return 0;
447441
}
448442

449-
#use Data::Dumper;
450-
#print Dumper($testconfig);
451-
452443
# EXPAND any occurrences of @TESTDIR@ to $testsdir
453444
$options =~ s/\@TESTDIR\@/$testsdir/;
454445

@@ -478,11 +469,8 @@ sub runComplexTests {
478469
$definitions = <FILE>;
479470
}
480471
close(FILE);
481-
#print "STUFF: ${definitions}\n";
482472
eval $definitions;
483473
if(defined($testlist)) {
484-
#use Data::Dumper;
485-
#print Dumper($testlist);
486474
foreach $test (@$testlist) {
487475
runOneComplexTest($test);
488476
}
@@ -503,12 +491,9 @@ sub runSimpleTests {
503491

504492
unlink("core");
505493
($name, $input, $output, @options) = split;
506-
#print "processing ${only} vs ${name}\n";
507494
next if(defined($only) && $only ne $name);
508495

509496
my $options = join(" ", @options);
510-
#print "@{options} becomes ${options}\n";
511-
512497
my $hash = { name => $name,
513498
input=> $input,
514499
output=>$output,

0 commit comments

Comments
 (0)