[dmd-internals] [D-Programming-Language/dmd] 5cdd12: Fixed coverage tests (a20, cov2, sieve) to work on...

noreply at github.com noreply at github.com
Sun Jan 30 13:11:19 PST 2011


Branch: refs/heads/master
Home:   https://github.com/D-Programming-Language/dmd

Commit: 5cdd12945737ef30c065776c690ae4657e71108e
    https://github.com/D-Programming-Language/dmd/commit/5cdd12945737ef30c065776c690ae4657e71108e
Author: Michel Fortin <michel.fortin at michelf.com>
Date:   2011-01-30 (Sun, 30 Jan 2011)

Changed paths:
  M test/runnable/extra-files/a20-postscript.sh
  M test/runnable/extra-files/cov2-postscript.sh
  M test/runnable/extra-files/sieve-postscript.sh

Log Message:
-----------
Fixed coverage tests (a20, cov2, sieve) to work on OS X.

Those test had a postscript that was dependent on a GNU extension of the
'head' command line tool. Now using 'wc' to get the number of line
beforehand and tell 'head' exactly how many lines to show (thanks to Andrei
for the tip).




More information about the dmd-internals mailing list