Hello All, I have completed the configure/nmake and test for pugs on Win32 using Visual Studio .NET
I did run into some issues with setting the PUGS_EMBED= perl5 ( The compile Would not work) After checking found that GHS is built with gcc instead of Visual C. I have updated the makefile.pl file to check for this, I also Added a section in the install file for Win32 and documented this information there as well. Below I have included the output from make test. I hope this helps! Thanks Ron Hill C:\perl\bin\perl.exe -Iinc -MExtUtils::Command -e cp script/pugscc D:\pugsdev\blib\script\pugscc pl2bat.bat D:\pugsdev\blib\script\pugscc C:\perl\bin\perl.exe -Iinc util\src_to_blib.pl C:\perl\bin\perl.exe "-I../../inc" "-I../inc" "-Iinc" "-MExtUtils::Command::MM" "-e" "ENV->{HARNESS_PERL} = q{D:/pugsdev/blib/script/pugs.exe}; @ARGV = map glob, @ARGV; ENV->{PERL6LIB} = q{D:\\pugsdev\\blib6\\lib}; test_harness(0, 'inc', 'D:\pugsdev\blib\lib', 'D:\pugsdev\blib\arch')" t/*/*.t t/*/*/*.t t/01-sanity/01-tap.................................ok 2/10 skipped: various reasons 1/10 TODO baz tests 1/10 TODO tests t/01-sanity/02-counter.............................ok t/01-sanity/03-equal...............................ok t/01-sanity/04-if..................................ok t/01-sanity/05-sub.................................ok t/01-sanity/06-use.................................ok t/01-sanity/07-test................................ok t/builtins/arrays/end..............................ok t/builtins/arrays/isa..............................ok t/builtins/arrays/pop..............................ok t/builtins/arrays/push.............................ok t/builtins/arrays/shift............................ok t/builtins/arrays/slice............................ok t/builtins/arrays/splice...........................ok t/builtins/arrays/unshift..........................ok t/builtins/arrays_and_hashes/delete................ok t/builtins/arrays_and_hashes/exists................ok 3/23 TODO bug tests t/builtins/arrays_and_hashes/keys_values...........ok t/builtins/arrays_and_hashes/kv....................ok t/builtins/arrays_and_hashes/pairs.................ok t/builtins/arrays_and_hashes/pick..................ok t/builtins/bool/defined............................ok t/builtins/bool/not................................ok t/builtins/bool/true...............................ok t/builtins/caller..................................ok 3/19 TODO tests t/builtins/control_flow/die........................ok t/builtins/control_flow/die_and_end................ok t/builtins/control_flow/eval.......................ok t/builtins/control_flow/fail.......................ok t/builtins/control_flow/goto.......................ok t/builtins/control_flow/leave......................ok 4/5 skipped: 1/5 TODO feature test t/builtins/control_flow/nothing....................ok t/builtins/control_flow/try........................ok 5/9 TODO tests t/builtins/hashes/isa..............................ok t/builtins/hashes/slice............................ok t/builtins/hex.....................................ok t/builtins/io/dir..................................ok 3/3 skipped: t/builtins/io/evalfile.............................ok t/builtins/io/getc.................................ok t/builtins/io/io...................................ok 22/48 TODO for release tests t/builtins/io/io_edge_error_cases..................ok t/builtins/io/io_in_for_loops......................ok 22/49 TODO for release tests t/builtins/io/io_in_while_loops....................ok t/builtins/io/io_redirect_to_scalar................ok 2/2 skipped: needs speccing t/builtins/io/readline_chomped.....................ok 1/3 TODO test t/builtins/io/sleep................................ok t/builtins/io/slurp................................ok t/builtins/io/system...............................ok 1/3 skipped: skip crashing test on win32 t/builtins/io/time.................................ok 2/10 TODO tests 3/10 TODO bug tests t/builtins/io/unlink...............................ok 2/6 TODO Timely closing of file handles does not yet work tests t/builtins/lists/flattening_in_map.................ok t/builtins/lists/grep..............................ok t/builtins/lists/join..............................ok t/builtins/lists/map...............................ok t/builtins/lists/map_function_return_values........ok t/builtins/lists/map_with_signature................ok t/builtins/lists/minmax............................ok t/builtins/lists/one_elem_list_kv..................ok t/builtins/lists/reduce............................ok 7/35 TODO bug tests t/builtins/lists/reverse...........................ok t/builtins/lists/sort..............................ok t/builtins/lists/sum...............................ok t/builtins/lists/uniq..............................ok t/builtins/lists/zip...............................ok 5/12 TODO tests t/builtins/math/abs................................ok t/builtins/math/exp................................ok t/builtins/math/int................................ok t/builtins/math/log................................ok t/builtins/math/rand...............................ok t/builtins/math/rounders...........................ok 27/36 TODO feature tests t/builtins/math/sign...............................ok t/builtins/math/sqrt...............................ok t/builtins/math/trig...............................ok t/builtins/my......................................ok t/builtins/numify..................................ok t/builtins/perl....................................ok t/builtins/ref.....................................ok t/builtins/sprintf_and_as..........................ok 1/8 TODO bug test t/builtins/strings/append..........................ok t/builtins/strings/capitalize......................ok t/builtins/strings/chomp...........................ok 2/13 TODO feature tests t/builtins/strings/index...........................ok t/builtins/strings/lc..............................ok t/builtins/strings/lcfirst.........................ok t/builtins/strings/length..........................ok t/builtins/strings/ord_and_chr.....................ok t/builtins/strings/rindex..........................ok t/builtins/strings/split...........................ok t/builtins/strings/string_interpolation............ok t/builtins/strings/substr..........................ok 4/31 TODO tests 2/31 TODO bug tests t/builtins/strings/trans...........................ok 1/5 TODO test t/builtins/strings/uc..............................ok 1/8 TODO for release test t/builtins/strings/ucfirst.........................ok t/builtins/undef...................................ok 2/72 TODO feature tests 2/72 TODO parsefail tests 16/72 TODO tests 2/72 TODO bug tests t/builtins/want....................................ok 10/16 TODO feature tests 2/16 TODO bug tests t/data_types/anon_block............................ok t/data_types/array.................................ok 5/58 TODO tests t/data_types/array_extending.......................ok t/data_types/array_ref.............................ok 1/42 TODO test t/data_types/catch_type_cast_mismatch..............ok t/data_types/enum..................................ok 24/30 TODO feature tests 6/30 TODO tests t/data_types/flattening............................ok t/data_types/hash..................................ok 1/54 TODO bug test t/data_types/hash_ref..............................ok t/data_types/mixed_multi_dimensional...............ok 3/62 TODO bug tests t/data_types/multi_dimensional_array...............ok 9/31 TODO tests t/data_types/nested_arrays.........................ok t/data_types/nested_pairs..........................ok t/data_types/num...................................ok 5/44 TODO tests 2/44 TODO bug tests t/data_types/pair..................................ok 6/60 TODO bug tests t/data_types/parse_hash_ref........................ok 5/8 TODO bug tests t/data_types/parsing_hash..........................ok t/data_types/subscripts_and_context................ok t/data_types/subtypes..............................ok 9/13 TODO feature tests t/examples/examples................................ok t/examples/golf....................................ok 10/10 skipped: t/general/atoms....................................ok t/general/basic....................................ok 1/15 TODO test t/general/config...................................ok t/junction/abc.....................................ok t/junction/any_values_infinite_loop................ok t/junction/array_deref.............................FAILED test 1 Failed 1/1 tests, 0.00% okay t/junction/associative.............................ok t/junction/junction_any_pick.......................ok t/junction/junction_functions......................ok t/junction/junction_pick...........................ok t/junction/misc_junctions..........................ok t/junction/s09eg...................................ok t/macros/closure_returning_macros..................ok t/macros/operator_macros...........................ok 2/2 TODO feature tests t/macros/string_returning_macros...................ok 2/8 TODO feature tests t/magicals/block...................................ok t/magicals/caller_pos..............................ok t/magicals/dollar_underscore.......................ok t/magicals/env.....................................ok t/magicals/file_line...............................ok t/magicals/inc.....................................ok t/magicals/line_basic..............................ok t/magicals/pid.....................................ok t/magicals/progname................................ok t/magicals/sub.....................................ok t/magicals/subname.................................ok t/oo/attributes/class..............................ok 6/8 TODO feature tests t/oo/attributes/instance...........................ok 31/71 TODO feature tests t/oo/attributes/methods_on_typed_attrs.............ok t/oo/attributes/mutators...........................ok 17/25 skipped: Proxy trait is parsefail 2/25 TODO feature tests 2/25 TODO bug tests t/oo/class/anonymous...............................ok 5/5 TODO feature tests t/oo/class/basic...................................ok t/oo/class/literal.................................ok 1/2 TODO feature test t/oo/class/nested_use..............................ok t/oo/class/require.................................ok 2/3 TODO bug tests t/oo/clone.........................................ok 3/9 TODO feature tests t/oo/construction..................................ok 7/10 TODO feature tests t/oo/delegation....................................ok 24/34 TODO feature tests t/oo/destruction...................................ok 4/6 TODO bug tests t/oo/enums.........................................ok 54/58 TODO feature tests t/oo/inheritance...................................ok 3/26 TODO feature tests 3/26 TODO bug tests t/oo/magical_vars..................................ok 5/14 TODO bug tests t/oo/meta_class....................................ok 9/9 TODO feature tests t/oo/methods/both..................................ok t/oo/methods/builtins..............................ok 1/10 TODO bug test t/oo/methods/chaining..............................ok t/oo/methods/class.................................ok 1/3 TODO feature test t/oo/methods/instance..............................ok 2/17 TODO feature tests 2/17 TODO hardfail tests t/oo/methods/multi.................................ok 1/10 TODO bug test t/oo/methods/overload..............................ok 14/18 TODO feature tests t/oo/methods/ref...................................ok 2/3 TODO feature tests t/oo/object_id.....................................ok t/oo/precedence....................................ok t/oo/proxy.........................................ok 14/18 TODO feature tests t/oo/roles/anonymous...............................ok 8/14 TODO feature tests t/oo/roles/basic...................................ok 15/20 TODO feature tests t/oo/roles/conflicts...............................ok 9/10 TODO feature tests t/oo/roles/instantiation...........................ok t/oo/roles/parameterized...........................ok 21/22 TODO feature tests t/oo/roles/properties..............................ok 4/5 TODO feature tests t/oo/roles/submethods..............................ok t/oo/roles/super...................................ok 1/2 TODO bug test t/oo/submethods....................................ok 2/24 TODO feature tests t/oo/super.........................................ok t/oo/syntax-but....................................ok t/oo/traits/basic..................................ok 7/7 TODO feature tests t/oo/traits/parameterized..........................ok 5/7 TODO feature tests t/oo/type..........................................ok 7/7 TODO feature tests t/oo/value_types...................................ok 2/5 TODO feature tests t/operators/adverbial_modifiers....................ok 9/11 TODO feature tests t/operators/and_precedence.........................ok t/operators/arith..................................ok 1/183 TODO test t/operators/assign.................................ok 6/60 TODO tests t/operators/auto...................................ok t/operators/binding................................ok 3/23 TODO tests t/operators/bit....................................ok t/operators/cond...................................ok t/operators/context_forcers........................FAILED test 20 Failed 1/34 tests, 97.06% okay t/operators/eq.....................................ok t/operators/filetest...............................ok 4/34 skipped: various reasons t/operators/hyper..................................ok 6/39 TODO tests t/operators/identity...............................ok 2/25 TODO feature tests t/operators/inc....................................ok 2/26 TODO tests t/operators/iteration..............................ok t/operators/listquote..............................ok t/operators/negated_smartmatch.....................ok t/operators/operator...............................ok 1/29 TODO test t/operators/operator_overloading...................ok 5/25 TODO feature tests t/operators/pipe...................................ok 6/7 TODO tests t/operators/precedence.............................ok 5/41 TODO tests t/operators/quoting................................ok 10/68 TODO tests 11/68 TODO bug tests t/operators/range..................................ok 2/12 skipped: Skipping hanging tests t/operators/relational.............................ok t/operators/repeat.................................ok 2/20 TODO bug tests t/operators/short_circuit..........................ok 1/30 TODO test t/operators/smartmatch.............................ok 26/49 TODO tests t/operators/spaceship_and_datatypes................ok t/operators/splat..................................ok 2/3 TODO tests t/operators/ternary................................ok t/packages/autoload................................ok 22/38 TODO feature tests 2/38 TODO bug tests t/packages/export..................................ok t/packages/reflection..............................ok 15/15 TODO feature tests t/packages/require_and_use.........................ok 11/12 TODO for release tests t/packages/scope...................................ok 4/23 TODO feature tests 3/23 TODO bug tests t/packages/symbols.................................ok 1/2 TODO feature test t/pugsbugs/assuming_and_mmd........................ok 1/6 TODO bug test t/pugsbugs/attribute_hash..........................ok 2/2 TODO bug tests t/pugsbugs/cast_undef_shortcircuit.................ok 1/2 TODO bug test t/pugsbugs/deref_doesnt............................ok 1/1 TODO bug test t/pugsbugs/grep-and-sort-in-for....................ok 1/3 TODO bug test t/pugsbugs/hyper_latin1............................ok t/pugsbugs/io_finalize_part1.......................ok t/pugsbugs/io_finalize_part2.......................ok 1/4 TODO bug test t/pugsbugs/is_copy_ne_is_rw........................ok 5/7 TODO bug tests t/pugsbugs/lexical_subs............................ok t/pugsbugs/map-and-sort-in-for.....................ok 1/3 TODO bug test t/pugsbugs/named_2_positional......................ok 1/2 TODO bug test t/pugsbugs/namespaces..............................ok 2/10 TODO feature tests t/pugsbugs/parsing_if..............................ok 1/2 TODO bug test t/pugsbugs/parsing_lexical_code_vars...............ok 1/1 TODO bug test t/pugsbugs/parsing_my..............................ok 1/1 TODO bug test t/pugsbugs/parsing_parens..........................ok t/pugsbugs/parsing_spaceship.......................ok t/pugsbugs/positional_parameters_in_BUILD..........ok t/pugsbugs/postincrement_in_subscripts.............ok 1/1 TODO bug test t/pugsbugs/return_in_anonymous_subs................ok 2/2 TODO bug tests t/pugsbugs/return_with_trailing_stuff..............ok t/pugsbugs/smartmatch_autovivifies.................ok 2/3 TODO bug tests t/pugsbugs/sub_bug.................................ok t/pugsbugs/topic_in_map............................ok 1/5 TODO bug test t/pugsrun/01-dash-uppercase-i......................ok t/pugsrun/01-multiple-e............................ok t/pugsrun/02-dash-n................................ok t/pugsrun/03-dash-p................................ok t/pugsrun/04-dash-ce...............................ok t/pugsrun/05-unknown-option........................ok 12/12 TODO tests t/pugsrun/06-dash-help.............................ok t/pugsrun/06-dash-version..........................ok t/pugsrun/07-dash-uppercase-v......................ok t/pugsrun/08-script-from-stdin.....................ok t/pugsrun/09-dash-uppercase-c......................ok t/pugsrun/10-dash-uppercase-m......................ok 1/4 TODO bug test t/pugsrun/11-safemode..............................ok 1/6 TODO for release test t/rules/named_rule_capture.........................ok 2/4 TODO bug tests t/rules/perl5......................................ok 10/882 TODO bug tests t/rules/rules_refs.................................ok t/rules/rx_perl5_escape............................ok 1/1 TODO bug test t/rules/rx_perl5_g.................................ok t/rules/rx_perl5_match.............................ok t/rules/s_perl5....................................ok t/rules/variable_interpolation.....................ok t/statements/array_values_in_bool_context..........ok t/statements/check.................................ok t/statements/control_blocks........................ok 12/20 TODO tests t/statements/do....................................FAILED test 2 Failed 1/2 tests, 50.00% okay t/statements/exit_in_begin.........................ok t/statements/exit_in_check.........................ok t/statements/first.................................ok t/statements/for...................................ok 4/34 TODO feature tests 1/34 TODO bug tests t/statements/gather................................ok 1/10 TODO unspecced tests 1/10 TODO tests t/statements/given.................................ok 1/47 TODO feature tests 9/47 TODO tests 4/47 TODO bug tests t/statements/if....................................ok 1/17 TODO feature tests 1/17 TODO bug tests t/statements/init..................................ok t/statements/io_leaking_into_runtime...............ok t/statements/last..................................ok 2/7 TODO tests t/statements/loop..................................ok 1/13 TODO feature tests 1/13 TODO tests t/statements/next..................................ok 3/12 TODO bug tests t/statements/redo..................................ok 2/10 TODO bug tests t/statements/return................................ok t/statements/return_from_inner_block...............ok t/statements/statement_modifiers...................ok t/statements/unless................................ok t/statements/until.................................ok t/statements/while.................................ok 5/11 TODO bug tests t/subroutines/arg_ref_type_preservation............ok t/subroutines/bare_block_with_dollar_underscore....ok t/subroutines/code_blocks_as_sub_args..............ok t/subroutines/currying.............................ok 1/8 TODO feature tests 2/8 TODO tests t/subroutines/dollar_underscore....................ok t/subroutines/implicit_parameters..................ok 5/14 TODO feature tests t/subroutines/loopscope............................ok t/subroutines/lvalue_subroutines...................ok 7/11 TODO feature tests 2/11 TODO bug tests t/subroutines/multi_sub............................ok 4/19 TODO feature tests 2/19 TODO bug tests t/subroutines/nested_named.........................ok t/subroutines/pointy...............................ok 2/10 TODO feature tests t/subroutines/recurse..............................ok t/subroutines/signature_matching...................ok 20/26 TODO feature tests t/subroutines/splat_rw.............................ok 1/3 TODO feature test t/subroutines/splatty_in_caller_position...........ok 4/4 TODO bug tests t/subroutines/splatty_with_type....................ok t/subroutines/sub_arg_errors.......................ok t/subroutines/sub_named_params.....................ok 3/41 TODO bug tests t/subroutines/sub_parameter_traits.................ok 2/12 TODO tests t/subroutines/sub_ref..............................ok 1/33 TODO feature tests 4/33 TODO tests t/subroutines/sub_return_values....................ok t/subroutines/subroutine...........................ok 1/17 TODO feature tests 1/17 TODO buf tests 1/17 TODO tests t/subroutines/unhashify............................ok t/subroutines/wrap.................................ok 15/20 TODO tests t/syntax/begin_in_strings..........................ok t/syntax/decl_vs_assign_prec.......................ok t/syntax/force_context.............................ok t/syntax/inplace...................................ok t/syntax/lf_in_list................................ok t/syntax/list_quote_junction.......................ok t/syntax/list_quote_whitespace.....................ok t/syntax/parsing_gt................................ok t/syntax/POD.......................................ok 6/6 TODO tests t/syntax/single_quoted_strings.....................ok t/syntax/string_parsing............................ok t/syntax/subscript_parse_bugs......................ok t/syntax/symbol_table..............................ok 20/28 TODO tests t/syntax/unicode...................................ok t/syntax/varnames..................................ok t/unspecced/async-sleep............................ok t/unspecced/async..................................ok 1/1 TODO bug test t/unspecced/chop...................................ok 6/9 TODO tests t/unspecced/config.................................ok 28/30 TODO UNSPECCED tests t/unspecced/cont...................................ok 4/13 TODO tests 1/13 TODO bug tests t/unspecced/coro...................................ok t/unspecced/cwd....................................ok 1/3 TODO test t/unspecced/eval_haskell...........................ok 3/4 skipped: t/unspecced/eval_yaml..............................ok t/unspecced/lazy...................................ok t/unspecced/p5/array...............................ok 11/11 skipped: t/unspecced/p5/basic...............................ok 3/3 skipped: t/unspecced/p5/hash................................ok 1/1 skipped: t/unspecced/p5/method..............................ok 13/13 skipped: t/unspecced/p5/return..............................ok 1/1 skipped: t/unspecced/p5/roundtrip...........................ok 6/6 skipped: t/unspecced/times..................................ok t/var/default_scalar...............................ok 1/4 TODO bug test t/var/is_constant..................................ok 2/3 TODO bug tests t/var/is_copy......................................ok t/var/is_rw........................................ok 2/6 TODO feature tests t/var/let..........................................ok 1/7 TODO feature test t/var/my...........................................ok 2/8 TODO bug tests t/var/state........................................ok 3/10 TODO feature tests 1/10 TODO bug tests t/var/symbolic_deref...............................ok 4/22 TODO bug tests t/var/temp.........................................ok 16/20 TODO feature tests t/var/type.........................................ok 2/4 TODO feature tests t/var/var..........................................ok 3/8 TODO bug tests Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ------- t/junction/array_deref.t 1 1 100.00% 1 t/operators/context_forcers.t 34 1 2.94% 20 t/statements/do.t 2 1 50.00% 2 83 subtests skipped.