270b0a3d43Corrected some minor memory leaks and avoided extra list copying in Boost Jam when processing piecemeal actions.
Jurko Gospodnetić
2012-06-19 12:43:40 +0000
b45ec34c91Updated the Boost.Jam exec_cmd() interface to take its command parameter as a string object instead of a raw char *.
Jurko Gospodnetić
2012-06-19 12:33:49 +0000
5206ea3f95Updated the Boost.Jam exec_cmd() interface to take its command parameter as a string object instead of a raw char *.
Jurko Gospodnetić
2012-06-19 12:33:49 +0000
09e976d0cbRemoved a printf() statement in Boost Jam's execnt.c module leftover by accident from a previous debugging session.
Jurko Gospodnetić
2012-06-19 12:28:30 +0000
9566ef7191Removed a printf() statement in Boost Jam's execnt.c module leftover by accident from a previous debugging session.
Jurko Gospodnetić
2012-06-19 12:28:30 +0000
fd4d69acd6Cleaned up Boost Jam's exec_cmd() interface a bit to avoid its callback definition duplication. Minor stylistic changes.
Jurko Gospodnetić
2012-06-19 12:13:42 +0000
2fcbd23c3eCleaned up Boost Jam's exec_cmd() interface a bit to avoid its callback definition duplication. Minor stylistic changes.
Jurko Gospodnetić
2012-06-19 12:13:42 +0000
f658bf410aMinor stylistic changes - renamed command parameter in string_new_trimmed() in Boost Jam's execnt.c module to source.
Jurko Gospodnetić
2012-06-19 12:07:23 +0000
35133c5ce2Minor stylistic changes - renamed command parameter in string_new_trimmed() in Boost Jam's execnt.c module to source.
Jurko Gospodnetić
2012-06-19 12:07:23 +0000
838568f286Minor Boost Build test system Python code cleanup - removed unnecessary trailing semicolons.
Jurko Gospodnetić
2012-06-19 10:08:33 +0000
92bd9e3a71Minor Boost Build test system Python code cleanup - removed unnecessary trailing semicolons.
Jurko Gospodnetić
2012-06-19 10:08:33 +0000
283e2bf18eAdded support for explicitly failing Boost Build tests without displaying the changes caused by the last build command.
Jurko Gospodnetić
2012-06-19 10:06:12 +0000
a2a8daaec6Added support for explicitly failing Boost Build tests without displaying the changes caused by the last build command.
Jurko Gospodnetić
2012-06-19 10:06:12 +0000
a9d0cdd8e2Added explicit checking for too long command-line arguments for running directly using the CreateProcessA() API.
Jurko Gospodnetić
2012-06-19 00:55:44 +0000
cc90cd9341Added explicit checking for too long command-line arguments for running directly using the CreateProcessA() API.
Jurko Gospodnetić
2012-06-19 00:55:44 +0000
2dfef646c3Refactoring Boost Build's execnt.c module - can_spawn() now takes a string * instead of a char * argument. Minor stylistic changes.
Jurko Gospodnetić
2012-06-19 00:51:37 +0000
d8399d398eRefactoring Boost Build's execnt.c module - can_spawn() now takes a string * instead of a char * argument. Minor stylistic changes.
Jurko Gospodnetić
2012-06-19 00:51:37 +0000
5c9c05e42bRefactored Boost Build's execnt.c module - commands to execute are now trimmed of all their leading and trailing spaces up front instead of 'whenever that becomes needed', removed redundant extra splitting of directly executed command strings into arguments. This fixes a bug caused by this extra splitting removing quotes around the executable (argument 0) - e.g. when executing the program 'C:\Program Files\dummy.exe' this would cause the program 'C:\Program.exe' to be executed instead if it exists.
Jurko Gospodnetić
2012-06-19 00:23:18 +0000
810e1408abRefactored Boost Build's execnt.c module - commands to execute are now trimmed of all their leading and trailing spaces up front instead of 'whenever that becomes needed', removed redundant extra splitting of directly executed command strings into arguments. This fixes a bug caused by this extra splitting removing quotes around the executable (argument 0) - e.g. when executing the program 'C:\Program Files\dummy.exe' this would cause the program 'C:\Program.exe' to be executed instead if it exists.
Jurko Gospodnetić
2012-06-19 00:23:18 +0000
0a2eb316a6Cleaned up end-user debug messages related to Boost Build's execnt.c module (-d+4).
Jurko Gospodnetić
2012-06-19 00:02:25 +0000
7c73b8a69eCleaned up end-user debug messages related to Boost Build's execnt.c module (-d+4).
Jurko Gospodnetić
2012-06-19 00:02:25 +0000
c63206558fAdded logging the exact command-line string passed to the CreateProcessA() Windows API in Boost Build's execnt.c module.
Jurko Gospodnetić
2012-06-18 23:30:58 +0000
63949e8b19Added logging the exact command-line string passed to the CreateProcessA() Windows API in Boost Build's execnt.c module.
Jurko Gospodnetić
2012-06-18 23:30:58 +0000
92296ee7a4Code cleanup in Boost Build's execnt.c module - using the CreateProcessA() API directly instead of the CreateProcess() wrapper now & made some code more localized.
Jurko Gospodnetić
2012-06-18 23:28:30 +0000
6799d690eaCode cleanup in Boost Build's execnt.c module - using the CreateProcessA() API directly instead of the CreateProcess() wrapper now & made some code more localized.
Jurko Gospodnetić
2012-06-18 23:28:30 +0000
3f6421cd91Checking whether a command can be spawned directly (as opposed to invoking it via an external shell) in Boost Build's execnt.c module now correctly skips all leading whitespace characters and not just tabs and spaces.
Jurko Gospodnetić
2012-06-18 23:17:33 +0000
8e12da8dffChecking whether a command can be spawned directly (as opposed to invoking it via an external shell) in Boost Build's execnt.c module now correctly skips all leading whitespace characters and not just tabs and spaces.
Jurko Gospodnetić
2012-06-18 23:17:33 +0000
992931ee90Refactored the Boost Build execnt.c module's maxline() function to cache its result instead of calling the GetVersionEx() Windows API on every call.
Jurko Gospodnetić
2012-06-18 23:12:33 +0000
b6d2a40a3eRefactored the Boost Build execnt.c module's maxline() function to cache its result instead of calling the GetVersionEx() Windows API on every call.
Jurko Gospodnetić
2012-06-18 23:12:33 +0000
e25c77fc7dMinor stylistic changes - standardized relative type name and const modifier positions in Boost Build's execnt.c C module.
Jurko Gospodnetić
2012-06-18 23:08:52 +0000
f4840e83a6Minor stylistic changes - standardized relative type name and const modifier positions in Boost Build's execnt.c C module.
Jurko Gospodnetić
2012-06-18 23:08:52 +0000
bcbfaa30e9Updated the Boost Build core_arguments.py test to test all of the supported 19 Boost Jam positional arguments instead of only 9.
Jurko Gospodnetić
2012-06-18 12:59:42 +0000
e0adb511d5Updated the Boost Build core_arguments.py test to test all of the supported 19 Boost Jam positional arguments instead of only 9.
Jurko Gospodnetić
2012-06-18 12:59:42 +0000
147252d9e1Boost Build's core_arguments.py test now correctly tests whether or not specific arguments passed to a rule cause Boost Jam to exit with an error code.
Jurko Gospodnetić
2012-06-18 11:53:56 +0000
ec328ac75fBoost Build's core_arguments.py test now correctly tests whether or not specific arguments passed to a rule cause Boost Jam to exit with an error code.
Jurko Gospodnetić
2012-06-18 11:53:56 +0000
83b5bd6332Cleaned up the Boost core_arguments.py test code to reduce duplication.
Jurko Gospodnetić
2012-06-18 11:52:09 +0000
06a23803eaCleaned up the Boost core_arguments.py test code to reduce duplication.
Jurko Gospodnetić
2012-06-18 11:52:09 +0000
6020b81c8dCorrected a slight error reporting defect in the Boost Build's unit-testing system.
Jurko Gospodnetić
2012-06-17 14:44:41 +0000
11f7f0a621Corrected a slight error reporting defect in the Boost Build's unit-testing system.
Jurko Gospodnetić
2012-06-17 14:44:41 +0000
f7aeca291aAdded a missing source file for the generators_test.py Boost Build test that got missed in a previous commit (revision [78964]).
Jurko Gospodnetić
2012-06-16 06:25:16 +0000
903b98d80bAdded a missing source file for the generators_test.py Boost Build test that got missed in a previous commit (revision [78964]).
Jurko Gospodnetić
2012-06-16 06:25:16 +0000
6beaaefcb0Updated the generators_test.py Boost Build test to explicitly check some conditions that were before only listed in test code comments but never explicitly tested.
Jurko Gospodnetić
2012-06-16 02:45:09 +0000
35a6629761Updated the generators_test.py Boost Build test to explicitly check some conditions that were before only listed in test code comments but never explicitly tested.
Jurko Gospodnetić
2012-06-16 02:45:09 +0000
d90686df32Made the Boost Build example_make.py test explicitly use its own Python interpreter instead of relying on the 'python' executable being available on the system path.
Jurko Gospodnetić
2012-06-16 02:41:44 +0000
057808ddb6Made the Boost Build example_make.py test explicitly use its own Python interpreter instead of relying on the 'python' executable being available on the system path.
Jurko Gospodnetić
2012-06-16 02:41:44 +0000
cb7f8671abCorrected a bug in the Boost Build testing framework causing it to read file content with an additional newline character at the end when it already had one there instead of when it was missing.
Jurko Gospodnetić
2012-06-16 02:29:36 +0000
0598997251Corrected a bug in the Boost Build testing framework causing it to read file content with an additional newline character at the end when it already had one there instead of when it was missing.
Jurko Gospodnetić
2012-06-16 02:29:36 +0000
aad774f8a1Updated the rest of the Boost Build generator_selection.py test to not use the default CPP --> OBJ generator and use a custom 'simple copy file generator' instead to avoid problems with misconfigured test runners. Also made the test a bit stricter. This should fix the test failing on Sandia-darwin-intel test runners.
Jurko Gospodnetić
2012-06-16 01:29:30 +0000
7349c1943fUpdated the rest of the Boost Build generator_selection.py test to not use the default CPP --> OBJ generator and use a custom 'simple copy file generator' instead to avoid problems with misconfigured test runners. Also made the test a bit stricter. This should fix the test failing on Sandia-darwin-intel test runners.
Jurko Gospodnetić
2012-06-16 01:29:30 +0000
f33d140ee7Reorganized the Boost Build generators-test.py test completely. Now no longer used regular OBJ, LIB & EXE target generators to avoid having to deal with specific compiler/linker features, e.g. some compilers causing test failures by returning an error code on a warning about an unexpected source file .target_cpp extension being used. Removed lots of duplication, made the test code much more readable, reviewed and cleaned up all the comments.
Jurko Gospodnetić
2012-06-16 00:46:51 +0000
79df8fd9f4Reorganized the Boost Build generators-test.py test completely. Now no longer used regular OBJ, LIB & EXE target generators to avoid having to deal with specific compiler/linker features, e.g. some compilers causing test failures by returning an error code on a warning about an unexpected source file .target_cpp extension being used. Removed lots of duplication, made the test code much more readable, reviewed and cleaned up all the comments.
Jurko Gospodnetić
2012-06-16 00:46:51 +0000
f98d3aef09Made the generators_test.py Boost Build test more detailed.
Jurko Gospodnetić
2012-06-15 22:46:27 +0000
8a1d75c554Made the generators_test.py Boost Build test more detailed.
Jurko Gospodnetić
2012-06-15 22:46:27 +0000
5695c65f8bExtracted static/shared library testing out of the generators_test.py Boost Build test and into a separate new static_and_shared_library.py test. Updated the test a bit in the process to make it test some additional use cases.
Jurko Gospodnetić
2012-06-15 20:17:17 +0000
69e5c077cfExtracted static/shared library testing out of the generators_test.py Boost Build test and into a separate new static_and_shared_library.py test. Updated the test a bit in the process to make it test some additional use cases.
Jurko Gospodnetić
2012-06-15 20:17:17 +0000
b8623c04a6Added a few new internal unit tests for Boost Build's utility.unquote() rule.
Jurko Gospodnetić
2012-06-15 15:29:24 +0000
b2a4fe3006Added a few new internal unit tests for Boost Build's utility.unquote() rule.
Jurko Gospodnetić
2012-06-15 15:29:24 +0000
f932a890c3End-user error message in Boost Jam based Boost Build utility.ungrist() rule did not correspond to the actual rule's implementation. It implied that the value '<>' should be acceptable while it was not. Python based Boost Build implementation on the other hand accepted such values. Updated the original rule to accept this value as well.
Jurko Gospodnetić
2012-06-15 15:17:51 +0000
a94b783f8fEnd-user error message in Boost Jam based Boost Build utility.ungrist() rule did not correspond to the actual rule's implementation. It implied that the value '<>' should be acceptable while it was not. Python based Boost Build implementation on the other hand accepted such values. Updated the original rule to accept this value as well.
Jurko Gospodnetić
2012-06-15 15:17:51 +0000
796cd6cd88Corrected a badly formed end-user error message in Boost Build's utility.jam module.
Jurko Gospodnetić
2012-06-15 15:11:19 +0000
313718cdb9Corrected a badly formed end-user error message in Boost Build's utility.jam module.
Jurko Gospodnetić
2012-06-15 15:11:19 +0000
12d90df529Updated the Boost Build generator_selection.py test to not use the default CPP --> OBJ generator and use a custom 'simple copy file generator' to avoid problems with some test runners using compilers/toolsets refusing to compile sources with unknown extensions. This should fix the test failing on IBM's AIX test runner.
Jurko Gospodnetić
2012-06-15 06:57:02 +0000
d0ba7c3193Updated the Boost Build generator_selection.py test to not use the default CPP --> OBJ generator and use a custom 'simple copy file generator' to avoid problems with some test runners using compilers/toolsets refusing to compile sources with unknown extensions. This should fix the test failing on IBM's AIX test runner.
Jurko Gospodnetić
2012-06-15 06:57:02 +0000
b9ef06781aCode cleanup - removed an unneeded module import from Boost Build's startup_v2.py test.
Jurko Gospodnetić
2012-06-14 12:31:27 +0000
bf292f966cCode cleanup - removed an unneeded module import from Boost Build's startup_v2.py test.
Jurko Gospodnetić
2012-06-14 12:31:27 +0000
5c6c7e1cf6Updated Boost Build's startup_v2.py test to cleanly report and there is an unexpected boost-build.jam file found in any of the folders along the test's current working folder path. Before, such a file would break the test making sure Boost Build correctly reports if such a file is missing, and in such a way that made debugging the problem difficult.
Jurko Gospodnetić
2012-06-14 12:27:24 +0000
7f0db73ee3Updated Boost Build's startup_v2.py test to cleanly report and there is an unexpected boost-build.jam file found in any of the folders along the test's current working folder path. Before, such a file would break the test making sure Boost Build correctly reports if such a file is missing, and in such a way that made debugging the problem difficult.
Jurko Gospodnetić
2012-06-14 12:27:24 +0000
aa5bbb84c1Minor stylistic changes made to Boost Build's startup_v2.py test.
Jurko Gospodnetić
2012-06-14 12:19:13 +0000
80aabf68acMinor stylistic changes made to Boost Build's startup_v2.py test.
Jurko Gospodnetić
2012-06-14 12:19:13 +0000
f8fdeb9d02Added an import missing in case some conditional tests listed in the class.jam Boost Build module's __test__() testing rule are enabled.
Jurko Gospodnetić
2012-06-14 07:31:15 +0000
ac6c3f6b5aAdded an import missing in case some conditional tests listed in the class.jam Boost Build module's __test__() testing rule are enabled.
Jurko Gospodnetić
2012-06-14 07:31:15 +0000
27032c15b2Corrected a defective Boost Build configuration.py test that gets run only on non-Windows platforms.
Jurko Gospodnetić
2012-06-13 12:36:55 +0000