Skip to content

Instantly share code, notes, and snippets.

@wchristian
Last active September 4, 2020 15:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wchristian/5f02f1d86aabd3c9ca1b713695426a32 to your computer and use it in GitHub Desktop.
Save wchristian/5f02f1d86aabd3c9ca1b713695426a32 to your computer and use it in GitHub Desktop.
smoke test blead on windows AND get PASSes

1. have a windows 10 pro installation,

  • ACPs as follows: perl -e "use Win32; print join ' ', Win32::GetConsoleOutputCP(), Win32::GetACP(), Win32::GetOEMCP()"
  • 437 1252 437 (that means it is set to use usa language as default)

2. install strawberry perl

3. in c:\strawberry\smoke run configsmoke

  • accept defaults, except:
  • don't send emails
  • for gmake extra arguments: -j8
  • for Test::Harness use: j5

4. edit files:

  • w32current.cfg, cut it down to a single test, and set DCCHOME so dlls can be found
    • edit line near top containing DCCHOME to: -DCCHOME=C:\Strawberry\c
      • note that there may not be an empty newline after that, or it will be ignored by Test::Smoke
    • comment out: -Duseithreads, -Duselargefiles, -DDEBUGGING
  • smokecurrent.skiptests, skip a test that checks the AUTHORS file
    • add:
      • t/porting/pending-author.t
      • t/porting/manifest.t

5. in c:\strawberry\smoke run smokecurrent

6. if necessary, to rerun tests in c:\strawberry\perl-current\win32 use: gmake _test TEST_FILES=t/porting/manifest.t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment