Preprocess-Ops v20201117 Perl 5 v5.26.1 MSWin32-x86-multi-thread-64int
- Status
- Unknown
- From
- Alexandr Ciornii (CHORNY)
- Dist
-
Preprocess-Ops v20201117
- Platform
- Perl 5 v5.26.1 MSWin32-x86-multi-thread-64int
- Date
- 2020-11-17 23:23:09
- ID
- c3de5692-6bf3-1014-a164-43fdaece99ae
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Philip R Brenan,
This is a computer-generated report for Preprocess-Ops-20201117
on perl 5.26.1, created by CPAN-Reporter-1.2018.
Thank you for uploading your work to CPAN. However, attempting to
test your distribution gave an inconclusive result.
This could be because your distribution had an error during the make/build
stage, did not define tests, tests could not be found, because your tests were
interrupted before they finished, or because the results of the tests could not
be parsed. You may wish to consult the CPAN Testers Wiki:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from 'C:\Strawberry261\perl\bin\perl.exe ./Build test':
'which' is not recognized as an internal or external command,
operable program or batch file.
Unable to confirm presence of command: gcc
at C:\STRAWB~1\cpan\build\Data-Table-Text-20201030-0/blib/lib/Data/Table/Text.pm line 4539, <DATA> line 246.
Data::Table::Text::confirmHasCommandLineCommand("gcc") called at (eval 17) line 7
eval 'use warnings FATAL=>qw(all);
use strict;
require v5.26;
use Time::HiRes qw(time);
use Test::More;
my $hasgcc = confirmHasCommandLineCommand(q(gcc));
if ($^O =~ m(bsd|linux)i and $hasgcc) # Only these operating systems are supported
{plan tests => 7
}
else
{plan skip_all => \'Not supported\'
}
my $startTime = time();
my $localTest = ((caller(1))[0]//\'Preprocess::Ops\') eq "Preprocess::Ops"; # Local testing mode
Test::More->builder->output("/dev/null") if $localTest; # Suppress output in local testing mode
sub readCFile($) # Remove #line number statements from a C file
{my ($file) = @_; # C file name
my $c = readFile($file);
$c =~ s(#line (\\d+) ".*/(\\w+).c") (#line $1 "$2.c");
$c =~ s(\\A\\s+) ()s;
$c =~ s(\\s+\\Z) ()s;
"$c\\n"
}
if (88) { #Tc
my $d = q(zzz);
my $ds = fpd($d, qw(source));
my $dd = fpd($d, qw(derived));
my $sc = fpe($ds, qw(node c));
my $dc = fpe($dd, qw(node c));
my $dh = fpe($dd, qw(node h));
owf($sc, <<END);
#include <stdio.h>
typedef struct Node // Node
{const struct ProtoTypes_Node *proto;
int data;
} Node;
#include "node.h"
static Node by // New from node * number
(const Node * n, // Node
const int i) // Multiplier
{return new Node(data: i * n->data);
}
static void dump // Dump a node to stdout
(const Node * n) // Node to dump
{printf("data=%d\\\\n", n->data);
}
int main(void) //TnewNode //Tdump //Tby
{a â new Node(data: 6);
b â a â· by(7);
b â· dump;
return 0;
}
END
my $r = c($sc, $dc, $dh); # Preprocess source c to get derived c
my $c = qq((cd $dd; gcc node.c -o a; ./a));
is_deeply scalar(qx($c)), "data=42\\n";
is_deeply readCFile($dc), <<\'END\'; # Generated base.c
#line 1 "node.c"
#include <stdio.h>
typedef struct Node // Node
{const struct ProtoTypes_Node *proto;
int data;
} Node;
#include "node.h"
static Node by // New from node * number
(const Node * n, // Node
const int i) // Multiplier
{return newNode(({struct Node t = {data: i * n->data, proto: &ProtoTypes_Node}; t;}));
}
static void dump // Dump a node to stdout
(const Node * n) // Node to dump
{printf("data=%d\\n", n->data);
}
int main(void) //TnewNode //Tdump //Tby
{const typeof(newNode(({struct Node t = {data: 6, proto: &ProtoTypes_Node}; t;}))) a = newNode(({struct Node t = {data: 6, proto: &ProtoTypes_Node}; t;}));
const typeof(a.proto->by(&a, 7)) b = a.proto->by(&a, 7);
b.proto->dump(&b);
return 0;
}
END
is_deeply readCFile($dh), <<END; # Generated include file
static Node by
(const Node * n,
const int i);
static void dump
(const Node * n);
int main(void);
struct ProtoTypes_Node {
Node (*by)( // New from node * number
const Node * n, // Node
const int i); // Multiplier
void (*dump)( // Dump a node to stdout
const Node * n); // Node to dump
} const ProtoTypes_Node =
{by, dump};
Node newNode(Node allocator) {return allocator;}
END
clearFolder($d, 10);
}
if (36) { #Tc
my $d = q(zzz);
my $c = owf(fpe($d, qw(source c)), <<\'END\');
#include <assert.h>
#include <stdio.h>
int main(void)
{a â âÂÂ;
a
b
âÂÂ
â a[0] == \'a\';
printf("%s", a);
}
END
my $h = fpe($d, qw(source h));
my $g = fpe($d, qw(derived c));
my $r = c($c, $g, $h);
is_deeply scalar(qx(cd $d; gcc derived.c -o a; ./a)), <<END, \'aaaa\';
a
b
END
is_deeply readCFile($g), <<\'END\', \'bbbb\';
#line 1 "source.c"
#include <assert.h>
#include <stdio.h>
int main(void)
{const typeof("a\\n" " b\\n") a = "a\\n" " b\\n";
//âÂÂa
//â b
//âÂÂ
assert( a[0] == \'a\');
printf("%s", a);
}
END
clearFolder($d, 10);
}
if (26) { #Tc
my $d = q(zzz);
my $c = owf(fpe($d, qw(source c)), <<\'END\');
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{typedef struct
{int a;
int b;
} S;
S s; s.a = 1; s.b = 2;
S t;
t â s; â s âÂÂâ t;
t â 0; â s !â t;
S *ps = &s, *pt = &t;
t â 0; â t.a == 0; â t.b == 0; â pt !â§ s;
pt â§ s; â t.a == s.a; â t.b == s.b; â pt â§â§ s;
s â 0; â s.a == 0; â s.b == 0; â t !⨠ps;
ps â§ t; â s.a == t.a; â s.b == t.b; â t â¨â¨ ps;
printf(âÂÂ);
success
âÂÂ
}
END
my $h = fpe($d, qw(source h));
my $g = fpe($d, qw(derived c));
my $r = c($c, $g, $h);
is_deeply scalar(qx(cd $d; gcc -g -Wall derived.c -o a; ./a)), <<END;
success
END
# clearFolder($d, 10);
}
if (26) { #Tc
my $d = q(zzz);
my $c = owf(fpe($d, qw(source c)), <<\'END\');
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{ a â 12; b â 12; c â 12;
a â "aaaa";
b â "bbbb";
A â c +â a; B â A +â b;
C â c â¼ b;
â a âÂÂâ "aaaa";
â b âÂÂâ "bbbb";
â b !â a;
â c âÂÂâ "aaaabbbb";
â A âÂÂâ b;
â B âÂÂâ "";
â C âÂÂâ b;
printf(âÂÂ);
success
âÂÂ
}
END
my $h = fpe($d, qw(source h));
my $g = fpe($d, qw(derived c));
my $r = c($c, $g, $h);
is_deeply scalar(qx(cd $d; gcc -g -Wall derived.c -o a; ./a)), <<END;
success
END
# clearFolder($d, 10);
}
done_testing;
# owf($logC, readCFile($dc));
# owf($logH, readCFile($dh));
if ($localTest)
{say "TO finished in ", (time() - $startTime), " seconds";
}
1;
' called at C:\STRAWB~1\cpan\build\Preprocess-Ops-20201117-0\blib\lib/Preprocess/Ops.pm line 1314
Preprocess::Ops::test() called at test.pl line 11
test.pl .. skipped: Not supported
Files=1, Tests=0, 1 wallclock secs ( 0.04 usr + 0.01 sys = 0.05 CPU)
Result: NOTESTS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
----------------- -------- --------
Carp 0 1.42
Data::Dump 0 1.23
Data::Table::Text 20201029 20201030
Test2::API 0 1.302135
Test::More 0 1.302135
configure_requires:
Module Need Have
----------------- -------- --------
Module::Build 0.4224 0.4224
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
COMSPEC = C:\WINDOWS\system32\cmd.exe
NUMBER_OF_PROCESSORS = 1
PATH = C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Git\cmd;C:\Strawberry261\c\bin;C:\Strawberry261\perl\site\bin;C:\Strawberry261\perl\bin
PERL5LIB = C:\STRAWB~1\cpan\build\Data-Table-Text-20201030-0/blib/arch;C:\STRAWB~1\cpan\build\Data-Table-Text-20201030-0/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 1400
PERL5_CPAN_IS_RUNNING = 1400
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1572,1400
PERL_CR_SMOKER_CURRENT = Preprocess-Ops-20201117
PERL_CR_SMOKER_RUNONCE = 1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_HASH_SEED = 0x11111111
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
PROCESSOR_IDENTIFIER = x86 Family 16 Model 5 Stepping 3, AuthenticAMD
TEMP = C:\DOCUME~1\a\LOCALS~1\Temp
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = C:\Strawberry261\perl\bin\perl.exe
$UID/$EUID = 0 / 0
$GID = 0
$EGID = 0
Win32::GetOSName = WinXP/.Net
Win32::GetOSVersion = Service Pack 3, 5, 1, 2600, 2, 3, 0, 256, 1
Win32::FsType = NTFS
Win32::IsAdminUser = 1
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.18
CPAN::Meta 2.150010
Cwd 3.74
ExtUtils::CBuilder 0.280230
ExtUtils::Command 7.34
ExtUtils::Install 2.14
ExtUtils::MakeMaker 7.34
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.35
File::Spec 3.74
JSON 2.97001
JSON::PP 2.97001
Module::Build 0.4224
Module::Signature 0.81
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302135
YAML 1.24
YAML::Syck 1.30
version 0.9918
--
Summary of my perl5 (revision 5 version 26 subversion 1) configuration:
Platform:
osname=MSWin32
osvers=4.0
archname=MSWin32-x86-multi-thread-64int
uname='Win32 strawberry-perl 5.26.1.1 #1 Mon Apr 2 23:57:52 2018 i386'
config_args='undef'
hint=recommended
useposix=true
d_sigaction=undef
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=undef
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='gcc'
ccflags =' -s -O2 -DWIN32 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields'
optimize='-s -O2'
cppflags='-DWIN32'
ccversion=''
gccversion='7.1.0'
gccosandvers=''
intsize=4
longsize=4
ptrsize=4
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=12
longdblkind=3
ivtype='long long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='long long'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='g++'
ldflags ='-s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"'
libpth=C:\STRAWB~1\c\lib C:\STRAWB~1\c\i686-w64-mingw32\lib C:\STRAWB~1\c\lib\gcc\i686-w64-mingw32\7.1.0
libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=
so=dll
useshrplib=true
libperl=libperl526.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs
dlext=xs.dll
d_dlsymun=undef
ccdlflags=' '
cccdlflags=' '
lddlflags='-mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
HAVE_INTERP_INTERN
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under MSWin32
Compiled at Apr 3 2018 00:07:56
%ENV:
PERL5LIB="C:\STRAWB~1\cpan\build\Data-Table-Text-20201030-0/blib/arch;C:\STRAWB~1\cpan\build\Data-Table-Text-20201030-0/blib/lib"
PERL5_CPANPLUS_IS_RUNNING="1400"
PERL5_CPAN_IS_RUNNING="1400"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="1572,1400"
PERL_CR_SMOKER_CURRENT="Preprocess-Ops-20201117"
PERL_CR_SMOKER_RUNONCE="1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_HASH_SEED="0x11111111"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
C:\STRAWB~1\cpan\build\Data-Table-Text-20201030-0/blib/arch
C:\STRAWB~1\cpan\build\Data-Table-Text-20201030-0/blib/lib
C:/Strawberry261/perl/site/lib
C:/Strawberry261/perl/vendor/lib
C:/Strawberry261/perl/lib
.