Ryan VanderMeulen
b26ab72f66
Backed out changeset 8553d6d258cc (bug 952206) for Windows bustage.
...
CLOSED TREE
2014-01-06 14:15:10 -05:00
Gregory Szorc
ca3052911b
Bug 952206 - Abort execution when a required make file fails to remake; r=bsmedberg
...
Previously, errors during make file making (either the main make file or
an included make file) were ignored. This behavior diverged from GNU
Make, which aborted execution if the make file was required and ignored
the failure if it was optional.
This patch changes pymake to abort if the make file is required, brining
its behavior inline with GNU make.
--HG--
extra : rebase_source : f9a3f4c54273930616f4a8e41dafc463f363c891
extra : amend_source : f02236c3127602357f8f82a66d021144b3cdf3a0
2013-12-19 11:18:23 -08:00
Gregory Szorc
8a9e7dc4c1
Bug 951736 - Adjust sys.path while native commands are executed; r=ted
...
The previous behavior only adjusted sys.path during module import. This
caused problems when there were delayed imports.
--HG--
extra : rebase_source : ca331f6da5f4e69ae74e8e831a41b12405fdd7fc
extra : amend_source : e0bd180a6fe5b5f64b2b8860f85887a9fd5b848e
2013-12-18 09:45:56 -08:00
Gregory Szorc
f9808270bb
Bug 922685 - Local $(foreach) variable isn't set properly; r=bsmedberg
2013-10-01 18:48:26 +02:00
Mike Hommey
1e77a85b97
Bug 920896 - Strip ./ from targets and dependencies in includedeps files. r=gps
2013-09-26 16:43:53 +09:00
Mike Hommey
47702e77ff
Bug 915642 - Allow simple variable references in includedeps files; r=gps
2013-09-12 22:05:34 +09:00
Mike Hommey
d9cb726df7
Bug 912971 - Strip ./ from targets given to pymake on the command line. r=ted
2013-09-06 09:21:04 +09:00
Mike Hommey
54db32b7a4
Bug 899875 - Better handle empty arguments in pymake, and also treat whitespaces in bulk. r=ted
2013-08-02 10:29:31 +09:00
Mike Shal
614d2bf88c
Bug 751076 - fix $< and $^ for pymake; r=bsmedberg
2013-07-09 10:14:16 -04:00
Mike Hommey
b03817d34c
Bug 777379 - Additional .DEFAULT_GOAL test for pymake. r=gps DONTBUILD
2013-05-07 17:34:47 +02:00
Mike Hommey
f936e5198e
Bug 777379 - Set .DEFAULT_GOAL unconditionally, override with OVERRIDE_DEFAULT_GOAL, and fix pymake to be on par with GNU make when handling .DEFAULT_GOAL. r=gps
2013-05-05 10:16:25 +02:00
Mike Hommey
e0e23d1619
Bug 820351 - Add a pymake unit test for native touch -t. r=ted
2012-12-11 16:36:40 +01:00
Mike Hommey
3b09a2705f
Bug 794966 - Treat environment variables as = assignments instead of := in pymake. r=ted
2012-10-02 14:18:00 +02:00
Siddharth Agarwal
10a557c105
Bug 788971 - Pymake chokes when native commands raise exceptions without a "code" attribute. r=ted
2012-09-08 02:54:05 +05:30
Siddharth Agarwal
f15989558f
Bug 787658 - Recalculate mtime once the target is built. r=khuey
2012-09-04 21:30:32 -04:00
Siddharth Agarwal
d5c7aa9533
Bug 787600 - Pymake: Shell commands in submakes don't honour exported PATH and don't receive exported envvars. r=gps
2012-09-01 06:41:50 +05:30
Siddharth Agarwal
c5d4509bf1
Bug 784910 - Pymake: adjust sys.path so that native commands can load other modules from their own directories. r=ted
2012-09-01 06:40:16 +05:30
Siddharth Agarwal
93a9f3a89c
Bug 782866 - Pymake: commands that don't use shells don't honour exported PATH on Win32. Use worker pool to execute Popen-based commands too, and fix up os.environ["PATH"] as necessary. r=gps DONTBUILD
2012-08-23 21:00:38 +05:30
Siddharth Agarwal
0006e71479
Bug 784496 - Run Pymake tests in sorted order. r=gps DONTBUILD
...
--HG--
extra : rebase_source : 7d05e3315e875506b8eea72895aa6aa17d4984c8
2012-08-22 04:33:50 +05:30
Siddharth Agarwal
7d9a4df524
Bug 782847 - Pymake native commands don't pass the correct environment to subprocesses. r=gps DONTBUILD
...
This change is technically backwards incompatible, but it brings native command
behavior in line with subprocess behavior.
--HG--
extra : rebase_source : a1cd4580ce7023f3c11eba8715133cdce116d984
2012-08-22 02:48:11 +05:30
Siddharth Agarwal
c8966962fa
Bug 780612 - Add a list of characters which probably indicate shell scripts but native commands won't reject. r=khuey
...
--HG--
extra : rebase_source : 38ffd729c2972e142673fbca50584c241b4eade0
2012-08-08 00:49:02 +05:30
Gregory Szorc
b7a8efca0c
Bug 778495 - Part 2: Add query related APIs for functions and expansions
...
khuey gave permission to land without review.
--HG--
extra : rebase_source : f76f8ae43efa9719f71ca6b6b2223ada1e18a6cd
2012-08-06 10:24:10 -07:00
Gregory Szorc
3386d66647
Bug 778495 - Part 1: Add BaseExpansion class and new methods for expansions
...
khuey gave permission to land without review.
--HG--
extra : rebase_source : 18d741488cf93e6eaf4d553badad840cc620a4fd
2012-08-06 10:23:58 -07:00
Gregory Szorc
091500b7b4
Bug 769976 - Statement reformatting and equality operators
...
You can now call to_source() on Expansion, StringExpansion, Function
(and derived), Statement (and derived), Condition (and derived), and
StatementList to obtain make "source code" for that entity. This means
you can write out make files by constructing an appropriate set of
Statement instances.
This also implements __eq__ and __ne__ on all of the above. This is
being used in the tests to verify that the reformatting code works
properly (produces an equivalent StatementList).
khuey gave permission to land without review.
--HG--
extra : rebase_source : ffc16e930279fc4a6978117efabf5483d7087b53
2012-08-06 10:23:25 -07:00
Mike Hommey
e9c3f71f8f
Bug 777379 - Ensure that default is always the default target. r=ted
2012-08-06 15:21:10 +02:00
Siddharth Agarwal
cce6046224
Bug 780497 - Pymake build broken because it thinks touch {uuid}/Makefile contains shell metacharacters. r=khuey
2012-08-06 00:45:59 +05:30
Siddharth Agarwal
5c170e7fab
Bug 780407 - Pymake: Export variables in MAKEFLAGS, including those passed over the command-line. r=khuey
2012-08-05 03:22:00 +05:30
Siddharth Agarwal
3d28045a81
Bug 770165 - Fix a test to reflect the reality that Pymake works with Windows paths but MSYS make works with Unix paths. r=khuey
...
--HG--
extra : rebase_source : 75be29ad11113ead1a16ed212e745759ee2fc4d6
2012-07-25 22:40:07 +05:30
Siddharth Agarwal
a360d4eef1
Bug 772186 - Support return values from pymake native commands. r=khuey
...
If the return value is an integer, treat it like an exit code. Otherwise, if
it is None, treat it like 0. Otherwise treat it as an error. This behaviour is
equivalent to that of sys.exit. Also fix our own sys.exit handling to match
this, and add tests for everything.
--HG--
extra : rebase_source : e36155d8fbe555e76effd182979cd6b1000a6ece
2012-07-12 09:52:25 +05:30
Kyle Huey
2e01633bf7
Update pymake snapshot to pull Bug 755828 and remove incorrectly added MPL 2 headers.
2012-05-25 12:14:16 -07:00
Ted Mielczarek
aab1b4ef7b
bug 714347 - pymake sort function should remove duplicates. r=khuey
...
--HG--
extra : rebase_source : 0a39a2a1578856f7c9c15b4e43b58961dc8088a7
2012-01-03 12:54:21 -05:00
Kyle Huey
17b2ee39cf
Update to pymake tip to pick up bug 700203.
2011-11-06 21:53:30 -05:00
Kyle Huey
1e94cbe0aa
Update pymake snapshot to r300.
2011-10-31 13:16:21 -04:00
Kyle Huey
9a65cc7c71
Commit pymake test that got missed on the recent update.
2011-08-26 08:07:30 -04:00
Kyle Huey
3155829ea9
And add the new tests.
2011-07-21 11:50:25 -07:00
Kyle Huey
362e93dc64
Update pymake snapshot to r293.
2011-07-21 11:48:23 -07:00
Mitchell Field
0c0b0002ea
Bug 637034 - Add a native mkdir to pymake.builtins. r=ted
2011-03-20 20:12:36 +11:00
Kyle Huey
d15af0ab0b
Update in-tree pymake to tip. a=NPOTB
2010-10-18 09:50:27 -04:00
Kyle Huey
abaa1d9d1b
Bug 604279: Handle spacing in front of define and endef when inside a define block. r=ted a=NPOTB
2010-10-14 17:04:26 -04:00
Benjamin Smedberg
d4b8d1bcc8
Import a new rev of pymake which fixes, among other things, bug 576914
2010-07-10 20:56:38 -07:00
Ginn Chen
7bf40bb9eb
Bug 538723: run_for_effect is not portable for Bourne shell r=ted.mielczarek
2010-03-08 17:30:40 +08:00
Benjamin Smedberg
fd29090054
Update pymake for additional fixes, including making it work in MozillaBuild 1.4 without manually exporting SHELL, not printing warnings for -include files which don't exist, and parsing errors in browser/locales/Makefile.
2009-10-26 14:08:20 -04:00
Benjamin Smedberg
1dcf48cce4
Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB.
2009-10-23 11:16:27 -04:00
Benjamin Smedberg
b64aa02dbd
Update pymake
2009-04-02 12:26:17 -04:00
Benjamin Smedberg
ba4b0a1e00
Update pymake for better memory usage and faster execution.
2009-04-01 16:13:55 -04:00
Benjamin Smedberg
b5f84b2efb
Update pymake with --keep-going and other fixes
2009-03-31 17:10:23 -04:00
Benjamin Smedberg
68bb5409a5
Update pymake to tip of my repo, NPODB.
2009-03-26 16:24:51 -04:00
Benjamin Smedberg
45479481e1
Import pymake into Mozilla. This is not used by default (yet), but this snapshot should be good enough for doing relative-srcdir builds on Windows. r=ted
2009-03-19 10:19:38 -04:00