2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00
Commit Graph

5442 Commits

Author SHA1 Message Date
Jurko Gospodnetić
6c3b7dbe7f Boost Jam cleanup - removed some internal memory management macro definition duplication.
[SVN r79242]
2012-07-03 10:47:13 +00:00
Jurko Gospodnetić
9c7e1dae1d Updated Boost Build test_rc.py test to make its internal dummy-RC toolset always use the .obj suffix when generating OBJ targets. This is another attempt at correcting failures for this test on non-Windows platforms.
[SVN r79231]
2012-07-02 18:59:11 +00:00
Jurko Gospodnetić
2261b467aa Yet another attempt at getting Boost Build's test_rc.py test to use its internal dummy-RC toolset correctly. Now disabled reading any external Boost Build configuration files to avoid having other, not actually used, toolsets (e.g. gcc) change the OBJ target suffix used by Boost Build.
[SVN r79225]
2012-07-02 09:50:12 +00:00
Jurko Gospodnetić
20a42723c5 Updated Boost Build test_rc.py test to use its internal dummy-RC toolset even when the test site has a different toolset configured in its site-config.jam or user-config.jam configuration files. Added more detailed output information in case this test fails.
[SVN r79221]
2012-07-01 23:53:22 +00:00
K. Noel Belcourt
4cccbd74e6 Fix bug where process jam log could not find
command status when max buffer not size not
unlimited and buffer full.  Change character
before buffer null terminator to be a newline
so command status appears on its own line.



[SVN r79184]
2012-06-30 05:40:36 +00:00
Jurko Gospodnetić
9f2d46756c Boost Build cleanup - minor stylistic changes. Added some FIXME comments.
[SVN r79176]
2012-06-29 19:20:56 +00:00
Jurko Gospodnetić
3fc1d1dac3 Fixed a Boost Build testing framework bug causing occasional & sporadic failures when you have one test build run making some changes, then another making no changes and then try to wait for the clock ticker to change enough to make newly touched or created files newer than the ones already existing on the system. In those cases the second test build run would clear the 'last build finished' timestamp and newly touched files might end up with the last modification timestamp equal to those already existing in the system. Also removed unnecessary wait_for_time_change_since_last_build() calls in BoostBuild.Tester.copy() and BoostBuild.Tester.rm().
[SVN r79173]
2012-06-29 18:24:52 +00:00
Jurko Gospodnetić
fc9fe16e26 Minor stylistic change in the Boost Build testing framework.
[SVN r79171]
2012-06-29 18:18:28 +00:00
Jurko Gospodnetić
73ac2c3f92 Updated Boost Build's testing system to close its files explicitly after it is done with them instead of leaving that up to the Python garbage collector.
[SVN r79170]
2012-06-29 18:17:36 +00:00
Jurko Gospodnetić
f6a582434a Updated Boost Build's alias.py test to display additional information in case of failure.
[SVN r79169]
2012-06-29 18:10:25 +00:00
Jurko Gospodnetić
a51f8d0123 Updated the Boost Build test_rc.py test to use an internal dummy toolset to test the functionality in gc.jam. Before, using the some toolsets (e.g. gcc toolset on a non-Windows platform) was using the silent 'null' resource compiler which did not display the output messages required by this test.
[SVN r79168]
2012-06-29 18:07:10 +00:00
Jurko Gospodnetić
a3be2b10ff Cleaned up Boost Build error & debugging messages displayed when loading configuration files.
[SVN r79167]
2012-06-29 18:03:57 +00:00
Jurko Gospodnetić
7d0b8a5b2b Boost Build cleanup - minor stylistic changes & comment typo corrections.
[SVN r79166]
2012-06-29 17:59:49 +00:00
Jurko Gospodnetić
8960d2efc7 Corrected a typo in Boost Build's common.jam module causing some incorrect error reporting when the --debug-configuration command-line option is specified.
[SVN r79159]
2012-06-28 13:31:13 +00:00
Jurko Gospodnetić
d5a27d8856 Minor stylistic indentation change.
[SVN r79157]
2012-06-28 13:10:14 +00:00
Jurko Gospodnetić
46c0bd8a1d Updated the Boost Build test_rc.py test to display some additional debugging information in case of failures to help debugging some detected test failures on different non-Windows Boost library test runners.
[SVN r79155]
2012-06-28 12:27:44 +00:00
Jurko Gospodnetić
f9fff72d6e Updated the Boost Build collect_debug_info.py test to correctly parse version variable information from Boost Jam output when they contain colon characters. Minor stylistic changes.
[SVN r79151]
2012-06-28 09:11:55 +00:00
Jurko Gospodnetić
cf184be6e2 Updated the Boost Build core_language.py test to not fail when run on Windows OSs that have a HKLM\SYSTEM\CurrentControlSet\AddServices key, as detected on the VeecoFTC Boost library tester Windows XP Professional SP3 machine.
[SVN r79150]
2012-06-27 22:50:07 +00:00
Jurko Gospodnetić
1da66ba30b Minor stylistic changes in the Boost Build core_language.py test.
[SVN r79149]
2012-06-27 22:46:10 +00:00
Jurko Gospodnetić
8064d1bd6e Added a new Boost Build test - testing the rc.jam toolset. Guards against a regression causing targets depending on a .rc script file to rebuild every time if the .rc script includes a resource file newer than itself.
[SVN r79148]
2012-06-27 22:20:33 +00:00
Jurko Gospodnetić
99ce41b342 Minor correction to unused code in the collect_debug_info.py Boost Build test.
[SVN r79147]
2012-06-27 20:24:10 +00:00
Jurko Gospodnetić
4dd3ab2155 Boost Build code cleanup - minor stylistic comment change.
[SVN r79146]
2012-06-27 19:55:44 +00:00
Jurko Gospodnetić
6faebead4d Made Boost Build's rc file include scanner ignore folders when binding the included files (similar to how this is done for the c-scanner object in tools/types/cpp.jam).
[SVN r79145]
2012-06-27 19:36:16 +00:00
Jurko Gospodnetić
83e213cb36 Slight code duplication in the Boost Build rc.jam module cleaned up.
[SVN r79144]
2012-06-27 19:34:48 +00:00
Jurko Gospodnetić
927380716f Fixed a Boost Build bug - files included by a .rc file were being interpreted as sources instead of siblings for the .rc file. This effectively caused anything depending on the .rc file to get rebuilt every time if the included file had a newer timestamp then the .rc file including it. Problem reported by Pavel Machyniak <machyniak.at.gmail.com>.
[SVN r79143]
2012-06-27 19:33:01 +00:00
Jurko Gospodnetić
e237faf66e Boost Build code cleanup - minor stylistic changes.
[SVN r79142]
2012-06-27 19:27:10 +00:00
Jurko Gospodnetić
93654944c8 Boost Build code cleanup - minor stylistic changes to synchronize sources to .c/.cpp & .rc scanner objects.
[SVN r79140]
2012-06-27 15:33:59 +00:00
Jurko Gospodnetić
9240d57e3b Minor stylistic Boost Build xsltproc toolset code changes.
[SVN r79139]
2012-06-27 14:27:23 +00:00
Jurko Gospodnetić
79cbbf20b6 Corrected the Boost Build core_action_output.py test that had a typo causing it to fail when run under a non-Windows OS.
[SVN r79136]
2012-06-27 13:14:44 +00:00
Jurko Gospodnetić
a309f74b76 Updated the Boost Build collect_debug_info.py test to avoid an assertion failure reported by some Boost library testers (e.g. Sandia-darwin-4.4) and see more information on what caused them.
[SVN r79132]
2012-06-27 09:56:49 +00:00
Jurko Gospodnetić
b8299123b0 Bumped up the Boost Jam version on the trunk to 2011.12.1 (i.e. bumped the patch level from 0 to 1) to be able to track which test runners updated to using the latest Boost Jam engine.
[SVN r79129]
2012-06-27 01:07:04 +00:00
Jurko Gospodnetić
0b08af802f Boost Jam code cleanup - internal bump_version.py support script now has better error checking and more robust version value construction in some cases.
[SVN r79128]
2012-06-27 01:01:58 +00:00
Jurko Gospodnetić
f724fedfa2 Minor stylistic Boost Build changes.
[SVN r79127]
2012-06-27 00:58:04 +00:00
Jurko Gospodnetić
4fbd97df1c Updated Boost Build's collect_debug_info.py test to report the used Boost Jam/Build version information and commented out its environment variable usage testing.
[SVN r79126]
2012-06-27 00:48:26 +00:00
Jurko Gospodnetić
58f0fd6672 Added a new Boost Build/Jam -p command line option handling test.
[SVN r79124]
2012-06-26 20:27:59 +00:00
Jurko Gospodnetić
e7eddd3bfb Updated Boost Jam's child process output handling on Windows based on the -p command-line option to match the one used on Unix.
If -p option value 0 is specified (the default), the child's stdout & stderr output streams are both collected into a single pipe and sent merged to the build process's stdout output.

If any other -p option value is specified, the child's stdout & stderr output streams are collected separately and redirected based on the -p parameter value:
  1 - stdout to stdout, stderr forgotten
  2 - stdout forgotten, stderr to stderr
  3 - stdout to stdout, stderr to stderr.

[SVN r79123]
2012-06-26 19:44:47 +00:00
Jurko Gospodnetić
4cbc63753e Boost Jam code cleanup - added symbolic constant names for read and write pipe end indices used in the running commands table data structure in the execnt.c module. Minor stylistic changes.
[SVN r79121]
2012-06-26 19:40:36 +00:00
Jurko Gospodnetić
e09ccc984f Boost Jam code cleanup - execunix.c module no longer opens a separate stderr pipe for communicating with its child process in case it is going to have it send both its stderr & stdout output to the stdout pipe, i.e. if the -p0 option is specified (which is actually the default). Minor stylistic comment updates.
[SVN r79120]
2012-06-26 18:12:40 +00:00
Jurko Gospodnetić
6c63f9519b Updated the Boost Build core_nt_cmd_line.py test to make it compatible with the ancient Python releases prior to Python version 2.5. It seems those versions do not support the 'x = 1 if condition else 2' construct and report it as a SyntaxError.
[SVN r79119]
2012-06-26 17:46:37 +00:00
Jurko Gospodnetić
9e4cbd1017 Boost Jam code cleanup - internal execunix.c refactoring.
[SVN r79118]
2012-06-26 17:25:33 +00:00
Jurko Gospodnetić
8e61df4ecc Boost Jam code cleanup - marked several internal execunix.c module functions as static.
[SVN r79117]
2012-06-26 16:24:36 +00:00
Jurko Gospodnetić
3c5398ca2c Boost Jam code cleanup - moved checking for quiet actions from make1c() into make_closure(). This removes the need to tunnel related rule_name & target_name strings through all the exec*.c module command execution functionality.
[SVN r79115]
2012-06-26 15:36:47 +00:00
Jurko Gospodnetić
c98e0d5e4c Boost Jam code cleanup - reduced special handling needed for executing commands while the -n option is in effect. Now make_closure() gets called consistently after all executed commands (whether actually executed by the OS, faked due to the -n option or due to exec_check() previously reporting them as NO-OPs).
[SVN r79114]
2012-06-26 15:25:01 +00:00
Jurko Gospodnetić
c9fdc14f55 Boost Jam code cleanup - out_action() calls from different platform specific exec*.c modules now moved into the central make_closure() function in the main build state machine implementation. exec_cmd() callbacks fitted with additional parameters to make this work but this should be temporary. exec*.c modules no longer need to remember their original command string given to execute just so they could pass them back to their out_action() calls since the central make_closure() function already has this information.
[SVN r79113]
2012-06-26 15:08:50 +00:00
Jurko Gospodnetić
2072515cc7 Boost Jam code cleanup - execnt.c module no longer needs to hold exit_code & exit_reason data in the running commands table structure for each of its spawned processes as those values are now read & used directly in a single exec_wait() call.
[SVN r79111]
2012-06-26 13:56:02 +00:00
Jurko Gospodnetić
d1edcc2be9 Boost Jam code cleanup - minor stylistic const correctness & comment changes.
[SVN r79110]
2012-06-26 13:49:06 +00:00
Jurko Gospodnetić
a70726f44d Corrected the Boost Build core_nt_cmd_line.py test failure caused by empty actions now getting reported to stdout correctly. Updated the test to make sure all the whitespace action content gets printed out correctly.
[SVN r79106]
2012-06-26 11:03:29 +00:00
Jurko Gospodnetić
3e956219be Boost Jam code cleanup - minor stylistic execunix.c module comment changes.
[SVN r79105]
2012-06-26 10:48:55 +00:00
Jurko Gospodnetić
f7ac3e9810 Corrected how Boost Jam handles no-op actions, i.e. those that the used exec*.c platform specific implementation module flagged as a no-op. They still do not cause an external process to be triggered but internally Boost Jam now processes their results the same as if they had been triggered and had done nothing except return EXIT_OK (i.e. they get reported correctly with -d1 & -d2 options, their timing and action rules get triggered and such). This fixes the core_d12.py Boost Build test which was failing due to no-op actions no causing their names to be reported to stdout when run with -d1.
[SVN r79104]
2012-06-26 10:42:58 +00:00
Jurko Gospodnetić
de95985946 Boost Jam code cleanup - Removed the unneeded CMD structure tail member.
[SVN r79102]
2012-06-26 10:36:21 +00:00