Test-BrewBuild
view release on metacpan or search on metacpan
- in BC::installed() we now croak if the proper params not sent in
- if only one Perl is installed, we now check to ensure we have the
perl version header in the results, if not, we add it (fixes #241)
- if we're using LCD output and the LCD is 4 row by 20 col, display the
number of test failures (closes #235)
- add troubleshooting section in POD to inform how to proceed if
installation fails (closes #242)
2.20 2018-04-16
- modified layout of LCD output to be more conducive of numerous runs
- refactored the bbdispatch "auto" argument handling, fixing an issue
where setting a run count never stopped auto mode (fixes #224)
- cleanup of logging in auto mode upon completion of a run
- updated perls in Travis CI to include 5.26, 5.24
- removed requirement for external t/script/bbtester_kill.pl script
(fixes #226)
- fix issue in Git::clone() where we weren't croaking if a fatal error
when cloning was encountered
- fix issue in t_bugs/164_dispatch_show_help_on_bad_args.t where we
were reading the config file causing failure. Now we just move it out
of the way temporarily to confirm the bug was fixed correctly
- changed the logic of Dispatch when in auto mode so that LCD warnings
are thrown at the correct time
- added rpi_lcd_cols and rpi_lcd_rows directives to the config file for
Dispatch; sets the LCD row and column count, and modified the display
for 4x20 LCDs
- removed "--yes" from the perlbrew uninstall command. Newer versions
of Perlbrew (ie. > 0.76) don't seem to honour it
- slight test cleanup
- _dzil_unshim() now returns early if not operating on a Dist::Zilla
distribution (closes #230)
- added all config file directives to the config file POD (closes #227)
- to allow for 4x2 RPi LCDs, we've extended the environment variable
(closes #231)
- added Constant.pm to eliminate hard-coded magic numbers (and other
info) (closes #222)
- all complex regexes are now housed in and fetched from new ::Regex
module (closes #223)
- in BBCmd->remove(), we check if perlbrew version > 0.76, and if so, we
add the "--yes" flag to the uninstall command
2.19 2017-08-05
- added 'status' command to bbtester, prints to STDOUT whether a tester
is currently running or not (closes #214)
- added pid() to Tester.pm, returns the running PID, and 0 if a tester
is not currently running
- Dispatch now has a separation between a finish and a start
(closes #215)
- moved Dispatch LCD initialization call to within the block its needed.
See stevieb9/rpi-wiringpi#41
- Tester has been significantly beefed to to properly know when it has
been left in an inconsistent state, and properly cleans itself up in
all three phases (start, stop and status). (closes #219)
- fixed a regression where somehow, the LCD object was being created in
loop fashion, crashing when the limit of eight was reached
(closes #221)
- --rpi mode for bbdispatch now prints the number of runs completed when
in auto mode on the LCD
2.18 2017-06-25
- logging output modifications (changes and relocations)
- in Git::listen(), we now make comparisons of the commit checksums, and
if they are equal, we no longer perform a pull request
- added Test::BrewBuild::Plugin::Author as a required dependency
- added a section to Tutorial that covers using Plugins
- for RPi LCD mode, changed commit csum to 7 chars as opposed to 8,
which is typical/common across the board
- major changes on how we figure out which module is the distribution
name. Instead of taking the first module name found, we check each one
with MetaCPAN::Client, and use the first one found that is a legit
distribution (work on #208)
- fix uninit warning in bbtester. We were trying to use $ARGV[0] even
in cases where it wasn't defined
- fix issue where in Dispatch, we were loading the wrong directive
value into $self->{auto_sleep} from the config file
- fix issue where we getting segfaults when bbdispatch was in auto mode
with --rpi enabled. We were creating a new LCD on each run, and were
eventually hitting wiringPi's MAX_LCD (8) limit. Moved the LCD init
to run once on object instantiation (fixes #209; fixes
stevieb9/rpi-lcd#6)
- in bbdispatch, the --repo|-r flag will prepend https://github.com if
you omit it. To do so, you need to specify the repo in
"user/repo-name" format
- hard coded MetaCPAN::Client version in Makefile to 2.017000 due to a
bug I reported and was fixed promptly by Mickey. See
https://github.com/metacpan/metacpan-client#89
- updated auto log entry at end of dispatch run to include seconds
we'll be sleeping (closes #212)
- fix issue where the repo link was being pre-pended twice with the URL
in log entries due to an earlier change (closes #211)
- opened PR https://github.com/metacpan/metacpan-client/pull/90 for
MetaCPAN::Client
2.17 2017-04-27
- troubleshooting issue where this current commit is causing the LCD
to shift off a couple chars per run. This needs to be looked at
- workaround for above off-by-one LCD issue (stevieb9/rpi-lcd#5). The
global LCD object is now created on each return of a Tester. This
isn't ideal but we'll fix that next
- Git should log out checksums (closes #198)
- each module logs out a characteristic header when an object is
initialized
- cleaned up the log entry for the plugin args in BrewBuild
- added "waiting for tester" log entry line (closes #200)
- re-ordered log entries at the point the tester goes into listen state
(closes #197)
- wrap code lines > 80 cols
- reduced the number of calls to Git::name() in Tester::listen().
Instead of making numerous repeated calls, we now just stash a single
call into a variable (closes #196)
- Tester now logs out its arguments when in debug 7 mode (closes #195)
- POD cleanup (closes #170)
- added RPi integration examples to the FAQ
- slight changes to test_log tests to conform to the changes made within
this version
- Git::git() now keeps a copy of the actual command and returns it
after the first full run. This removes unneeded duplicate log
entries(closes #203)
- several log entry modifications/cleanup
- in Dispatch::auto(), only attempt to fetch the commit csums if there
were results returned (work on #205)
( run in 1.126 second using v1.01-cache-2.11-cpan-71847e10f99 )