Commit Graph

12 Commits

Author SHA1 Message Date
Gregory Szorc
8e85824bcb Bug 1411462 - Abort when I/O error seen; r=glandium
Before, I/O errors writing to stdout/stderr (e.g. due to broken pipe)
would result in handleError() being called and execution would
keep running. This would potentially result in an error message for
every log/line failure being printed to stderr.

We change the behavior so I/O failures are fatal and abort
execution.

We test the new behavior by changing a test to pipe to `head`
directly. Since `head` exits once it has seen sufficient output,
this results in an EPIPE which now results in immediate program
termination.

MozReview-Commit-ID: 1UecZJ56h4r

--HG--
extra : rebase_source : b35d9c096621d9698260d29a7d0132c4989200a7
2017-11-09 20:44:10 -08:00
Gregory Szorc
407d687142 Bug 1411462 - Add test for configure --help; r=glandium
We add a simple cram test that `configure --help` works.

I added the test to build/tests because I'm not sure where else it should go.

This test uncovers a few interesting things:

1) piping `./configure --help` to `head` directly causes a Python
   traceback (presumably due to the pipe disappearing once N lines
   have been read)
2) "checking for vcs source checkout" is printed for --help
3) It is printed twice (!!)

These will be addressed later. Establishing test coverage is
more important.

MozReview-Commit-ID: 9zQ5X8ulTkc

--HG--
extra : rebase_source : aaf660152cdfe37580f559976bca13ea9bf14c49
2017-10-24 17:10:55 -07:00
Jeff Hammel
7a0cfd8d4a Bug 707976 - Remove manifestdestiny from its old location in m-c and use that in testing/mozbase;r=ahal
--HG--
extra : rebase_source : 78e596979ddfb001475270580afeab992694ed45
2013-06-07 12:30:11 -07:00
Gregory Szorc
5dbdd4988c Bug 784841 - Part 6: Move some functions from ConfigStatus to mozbuild; r=ted
--HG--
rename : build/tests/unit-ConfigStatus.py => python/mozbuild/mozbuild/test/backend/test_configenvironment.py
2013-01-29 06:24:24 -08:00
Mike Hommey
f719e34902 Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Ed Morley
0e9ed7fa01 Backout 7f8928077ed4 (bug 742795) for make-package & find filepath failures 2012-08-06 16:05:07 +01:00
Mike Hommey
014e0b483d Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Mike Hommey
1921d63887 Bug 780414 - Fix ConfigStatus.py for the case where top_srcdir is a path relative to topobjdir. r=khuey 2012-08-05 17:48:22 +02:00
Mike Hommey
e5d69586e3 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jeff Hammel
f30be2c855 bug 673121 : Make manifestparser tests output something. r=ted 2011-07-21 13:03:50 -04:00
Ted Mielczarek
989714656d bug 664197 - integrate mozinfo + ManifestDestiny update into xpcshell harness. r=jmaher
--HG--
extra : rebase_source : 1783e1a39d592defa279488f0cd0266311ed35ea
2011-06-21 08:12:40 -04:00