Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix perlcc test #2

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open

fix perlcc test #2

wants to merge 68 commits into from

Conversation

rurban
Copy link

@rurban rurban commented Mar 15, 2016

t/RT96893_perlcc.t failed with a working perlcc

t/binary.t ........... ok
t/exotic_names.t ..... ok
t/names.t ............ ok
t/RT42725_deparse.t .. ok
t/RT96893_perlcc.t ... 1/1 # No tests run!
t/RT96893_perlcc.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
All 1 subtests passed
t/smoke.t ............ ok

Test Summary Report
-------------------
t/RT96893_perlcc.t (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255

Reini Urban and others added 30 commits July 10, 2014 07:24
Fix leak when setting a fully-qualified name
Provide back-compat macro for pre-5.10 perls
karenetheridge and others added 30 commits August 19, 2014 21:47
    - move variable declaration to fix warning under
      -Werror=declaration-after-statement, to allow compilation under MSVC
      (J.R.Mash, github rafl#3)
    - fix licence in LICENSE and pod
    - fix optional test of interaction with B::C that sometimes invalidly
      failed
disable ' as package seperator
add t/names.t from ribasushi and Aristotle Pagaltzis
This is scaffolding to sanity-check our assumptions about perl: that
anything we *can* eval is named by the interpreter as expected. This
test passes on 5.6.1+ on both 32 and 64 bit perls.
Reveals incorrect handling of
- ' (\x27) on all perls
- \0 on perl > 5.14
- Unicode on perl > 5.16
but not of the stash yet. (which should not be necessary)
also remove unneeded backcompat macro which are already in ppport.h
all tests pass now
We call the sub by ref, not by name. This always worked.
Just test if we can call it and store the binary name.
Only for <5.14 ' is replaced by ::
5.10-5.16: B did not absolute it when converting to a PV, so we cannot
preserve utf8 GvNAMEs from 5.10 - 5.16. Tests still pass.

' => :: conversion is still in core for all stash names parsed. I added a
hopeful 25 version enddate for this. Needs to be adjusted if nobody will
deprecate this perl4'ism.

The only remaining problems are now with <5.8.9
ppport.h gv_fetchpvn_flags for 5.8.8 does not terminate the name buf at len
do not use Test::Builder with an external result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants