fix mingw32 tests #1063

Closed
rurban opened this Issue Mar 16, 2014 · 3 comments

Projects

None yet

1 participant

@rurban
Member
rurban commented Mar 16, 2014

See http://perl514.cpanel.net/build/builders/parrot-mingw32/builds/23/steps/shell_2/logs/stdio

One problem is when perl is only msys (from the mingw bash shell), not strawberry or activeperl. Then the Cwd paths will be unix-like.

Test Summary Report
-------------------
testb__t/compilers/imcc/syn/file.t               (Wstat: 256 Tests: 14 Failed: 1)
  Failed test:  14
  Non-zero exit status: 1
testb__t/op/arithmetics.t                        (Wstat: 0 Tests: 80 Failed: 0)
  TODO passed:   21, 24
testb__t/op/sprintf.t                            (Wstat: 0 Tests: 308 Failed: 1)
  Failed test:  217
testb__t/op/string.t                             (Wstat: 0 Tests: 298 Failed: 2)
  Failed tests:  196-197
testb__t/pmc/complex.t                           (Wstat: 0 Tests: 632 Failed: 0)
  TODO passed:   226-238, 449-450, 546-549, 562-565, 575-580
                590-595, 608-611, 624-627
testb__t/pmc/config.t                            (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
testb__t/pmc/os.t                                (Wstat: 1280 Tests: 36 Failed: 5)
  Failed tests:  1, 3, 5, 10, 29
  Non-zero exit status: 5
testb__t/pmc/sys.t                               (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
testf__t/compilers/imcc/syn/file.t               (Wstat: 256 Tests: 14 Failed: 1)
  Failed test:  14
  Non-zero exit status: 1
testf__t/op/arithmetics.t                        (Wstat: 0 Tests: 80 Failed: 0)
  TODO passed:   21, 24
testf__t/op/sprintf.t                            (Wstat: 0 Tests: 308 Failed: 1)
  Failed test:  217
testf__t/op/string.t                             (Wstat: 0 Tests: 298 Failed: 2)
  Failed tests:  196-197
testf__t/pmc/complex.t                           (Wstat: 0 Tests: 632 Failed: 0)
  TODO passed:   226-238, 449-450, 546-549, 562-565, 575-580
                590-595, 608-611, 624-627
testf__t/pmc/config.t                            (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
testf__t/pmc/os.t                                (Wstat: 1280 Tests: 36 Failed: 5)
  Failed tests:  1, 3, 5, 10, 29
  Non-zero exit status: 5
testf__t/pmc/sys.t                               (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
testO1__t/compilers/imcc/syn/file.t              (Wstat: 256 Tests: 14 Failed: 1)
  Failed test:  14
  Non-zero exit status: 1
testO1__t/op/arithmetics.t                       (Wstat: 0 Tests: 80 Failed: 0)
  TODO passed:   21, 24
testO1__t/op/sprintf.t                           (Wstat: 0 Tests: 308 Failed: 1)
  Failed test:  217
testO1__t/op/string.t                            (Wstat: 0 Tests: 298 Failed: 2)
  Failed tests:  196-197
testO1__t/pmc/complex.t                          (Wstat: 0 Tests: 632 Failed: 0)
  TODO passed:   226-238, 449-450, 546-549, 562-565, 575-580
                590-595, 608-611, 624-627
testO1__t/pmc/config.t                           (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
testO1__t/pmc/os.t                               (Wstat: 1280 Tests: 36 Failed: 5)
  Failed tests:  1, 3, 5, 10, 29
  Non-zero exit status: 5
testO1__t/pmc/sys.t                              (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
testO2__t/compilers/imcc/syn/file.t              (Wstat: 256 Tests: 14 Failed: 1)
  Failed test:  14
  Non-zero exit status: 1
testO2__t/op/arithmetics.t                       (Wstat: 0 Tests: 80 Failed: 0)
  TODO passed:   21, 24
testO2__t/op/sprintf.t                           (Wstat: 0 Tests: 308 Failed: 1)
  Failed test:  217
testO2__t/op/string.t                            (Wstat: 0 Tests: 298 Failed: 2)
  Failed tests:  196-197
testO2__t/pmc/complex.t                          (Wstat: 0 Tests: 632 Failed: 0)
  TODO passed:   226-238, 449-450, 546-549, 562-565, 575-580
                590-595, 608-611, 624-627
testO2__t/pmc/config.t                           (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
testO2__t/pmc/os.t                               (Wstat: 1280 Tests: 36 Failed: 5)
  Failed tests:  1, 3, 5, 10, 29
  Non-zero exit status: 5
testO2__t/pmc/sys.t                              (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
testr__t/compilers/imcc/syn/file.t               (Wstat: 256 Tests: 14 Failed: 1)
  Failed test:  14
  Non-zero exit status: 1
testr__t/op/arithmetics.t                        (Wstat: 0 Tests: 80 Failed: 0)
  TODO passed:   21, 24
testr__t/op/sprintf.t                            (Wstat: 0 Tests: 308 Failed: 1)
  Failed test:  217
testr__t/op/string.t                             (Wstat: 0 Tests: 298 Failed: 2)
  Failed tests:  196-197
testr__t/pmc/complex.t                           (Wstat: 0 Tests: 632 Failed: 0)
  TODO passed:   226-238, 449-450, 546-549, 562-565, 575-580
                590-595, 608-611, 624-627
testr__t/pmc/config.t                            (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
testr__t/pmc/os.t                                (Wstat: 1280 Tests: 36 Failed: 5)
  Failed tests:  1, 3, 5, 10, 29
  Non-zero exit status: 5
testr__t/pmc/sys.t                               (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
run__t/run/debugger_options.t                    (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
run__t/run/options.t                             (Wstat: 512 Tests: 40 Failed: 2)
  Failed tests:  7-8
  Non-zero exit status: 2
dynoplibs__t/dynoplibs/io.t                      (Wstat: 256 Tests: 49 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 59 tests but ran 49.
dynpmc__t/dynpmc/file.t                          (Wstat: 1792 Tests: 9 Failed: 7)
  Failed tests:  1, 3, 5-9
  Non-zero exit status: 7
library__t/library/lib_search_path.t             (Wstat: 1024 Tests: 7 Failed: 4)
  Failed tests:  1-4
  Non-zero exit status: 4
miscellaneous__t/tools/mk_language_shell.t       (Wstat: 65280 Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 5.
miscellaneous__t/tools/pbc_disassemble.t         (Wstat: 1024 Tests: 10 Failed: 4)
  Failed tests:  1-4
  Non-zero exit status: 4
miscellaneous__t/profiling/profiling.t           (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 13 tests but ran 0.
codingstd__t/codingstd/c_cppcomments.t           (Wstat: 1280 Tests: 0 Failed: 0)
  Non-zero exit status: 5
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
codingstd__t/codingstd/c_enum.t                  (Wstat: 1280 Tests: 0 Failed: 0)
  Non-zero exit status: 5
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
codingstd__t/codingstd/c_macro_args.t            (Wstat: 1280 Tests: 0 Failed: 0)
  Non-zero exit status: 5
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
codingstd__t/codingstd/c_operator.t              (Wstat: 1280 Tests: 0 Failed: 0)
  Non-zero exit status: 5
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
codingstd__t/codingstd/c_parens.t                (Wstat: 1280 Tests: 0 Failed: 0)
  Non-zero exit status: 5
  Parse errors: Bad plan.  You planned 3 tests but ran 0.
codingstd__t/codingstd/case_sensitive_files.t    (Wstat: 65280 Tests: 2241 Failed: 0)
  Non-zero exit status: 255
codingstd__t/codingstd/pod_syntax.t              (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2 tests but ran 1.
codingstd__t/codingstd/trailing_space.t          (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
benchmark__t/benchmark/benchmarks.t              (Wstat: 512 Tests: 37 Failed: 2)
  Failed tests:  4, 10
  Non-zero exit status: 2
manifest__t/tools/install/02-install_files.t     (Wstat: 256 Tests: 19 Failed: 1)
  Failed test:  15
  Non-zero exit status: 1
Files=1293, Tests=46594, 4024 wallclock secs ( 8.20 usr  6.16 sys + 475.35 cusr 448.08 csys = 937.78 CPU)
Result: FAIL
make: *** [fulltest] Error 1
@rurban rurban self-assigned this Mar 16, 2014
@rurban
Member
rurban commented Mar 17, 2014

With pure strawberry perl and no msys environment, the make command even fails, because of \ vs / mixup.
http://perl514.cpanel.net/build/builders/parrot-mingw32/builds/26/steps/shell_1/logs/stdio

gcc -I.\include -I.\include\pmc -DWIN32 -DWINVER=Windows2000  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT     -s -O2 -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -Wall -Wextra -Waggregate-return -Wcast-qual -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wlogical-op -Werror=missing-braces -Werror=missing-declarations -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wpointer-arith -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Werror=undef -Wno-unused -Wvariadic-macros -Wwrite-strings -Wc++-compat -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=nested-externs -Werror=old-style-definition -Werror=strict-prototypes -Icompilers/imcc\. -Isrc -o compilers/imcc/debug.o -c compilers/imcc/debug.c
'fg.o' is not recognized as an internal or external command,
operable program or batch file.
'eg_alloc.o' is not recognized as an internal or external command,
operable program or batch file.
Makefile:602: recipe for target 'compilers/imcc/cfg.o' failed
@rurban
Member
rurban commented Jul 7, 2014

Latest result: http://smolder.parrot.org/app/projects/report_details/44743
with RELEASE_6_5_0-12-gb1b4b87

t/op/sprintf.t                            (Wstat: 0 Tests: 308 Failed: 0)
  TODO passed:   217
t/pmc/complex.t                           (Wstat: 0 Tests: 632 Failed: 0)
  TODO passed:   228-231, 235, 237-238
t/pmc/os.t                                (Wstat: 256 Tests: 36 Failed: 1)
  Failed test:  10
  Non-zero exit status: 1
t/src/extend_vtable.t                     (Wstat: 17152 Tests: 134 Failed: 67)
  Failed tests:  68-134
  Non-zero exit status: 67
t/perl/Parrot_IO.t                        (Wstat: 256 Tests: 56 Failed: 1)
  Failed test:  51
  Non-zero exit status: 1
t/dynoplibs/trans-infnan.t                (Wstat: 0 Tests: 68 Failed: 1)
  Failed test:  42
t/library/pcre.t                          (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=447, Tests=14553, 583 wallclock secs ( 2.75 usr +  1.42 sys =  4.17 CPU)
Result: FAIL
@rurban
Member
rurban commented Jan 20, 2015

Followup in #1157

@rurban rurban closed this Jan 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment