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

4866 Commits

Author SHA1 Message Date
Jurko Gospodnetić
108a8d05f6 Internal Boost Build testing system cleanup - removed an unused BoostBuild.Tester.mul() member function.
[SVN r79826]
2012-08-01 08:36:29 +00:00
Jurko Gospodnetić
a5287879b7 Internal Boost Build testing system cleanup - minor stylistic changes.
[SVN r79819]
2012-07-31 13:46:04 +00:00
Jurko Gospodnetić
3ae7f56299 Added missing Boost chrono library target definition to Boost Build's 'contrib/boost.jam' module.
[SVN r79809]
2012-07-31 10:26:14 +00:00
Jurko Gospodnetić
5b1355a7a6 Boost Build's contrib/boost.jam module cleanup - minor stylistic changes.
[SVN r79808]
2012-07-31 10:24:05 +00:00
Jurko Gospodnetić
98e4e0b894 Boost Build cleanup - minor stylistic code & comment changes.
[SVN r79801]
2012-07-30 12:38:23 +00:00
Jurko Gospodnetić
7ea2636ad6 Internal Boost Build testing system cleanup - stopped using the deprecated indexed stat structure access and replaced it with respective member access.
[SVN r79787]
2012-07-28 14:18:21 +00:00
Jurko Gospodnetić
e68787e3e8 Internal Boost Build testing system cleanup - removed a never used BoostBuild.Tester.rename() member function.
[SVN r79785]
2012-07-28 14:14:10 +00:00
Jurko Gospodnetić
89033604eb Minor stylistic comment update in the internal Boost Build rebuilds.py test.
[SVN r79784]
2012-07-28 14:12:39 +00:00
Jurko Gospodnetić
d1aed27ea9 Internal Boost Build testing system cleanup - minor stylistic changes.
[SVN r79781]
2012-07-28 09:33:03 +00:00
Jurko Gospodnetić
103f8d7893 Updated Boost Jam to know how to report its minimum supported file modification timestamp resolution (currently reported as part of Boost Jam's version information). This allows external tools using Boost Jam to adapt to Boost Jam's potential ignorance of fine file modification timestamp changes.
For example, Boost Build's internal testing framework may use this information to reduce the time it spends doing nothing by sleeping until enough time passes to make newly created or touched files be correctly recognized by Boost Build.

[SVN r79780]
2012-07-28 09:20:29 +00:00
Jurko Gospodnetić
f7316995e6 Boost Jam version information output cleaned up a bit to make it easier to update it with additional information.
[SVN r79779]
2012-07-28 09:04:41 +00:00
Jurko Gospodnetić
b28fc465c3 Boost Jam code cleanup - minor stylistic changes.
[SVN r79778]
2012-07-28 08:58:39 +00:00
Jurko Gospodnetić
1fb0b6d0e4 Updated the internal Boost Build testing system's file system - now more precisely tracks the largest file modification timestamp assigned by a test build run, corrected several invalid or outdated comments, file & folder tree modeling structure's root nodes now hold correct directory name information, minor stylistic changes.
[SVN r79775]
2012-07-27 23:41:25 +00:00
Jurko Gospodnetić
361316dadf Refactored internal Boost Build testing system's file system content modeling tree data structure. Used to be based on some old svn_tree.py Subversion project source code. Now unused parts removed and the svn_tree.py module merged into tree.py. Trees_difference class renamed to TreeDifference and corresponding factory function to tree_difference. Now correctly recognizes and reports files being converted to folders and vice versa.
[SVN r79773]
2012-07-27 22:40:48 +00:00
Jurko Gospodnetić
1b4017c2d9 Internal Boost Build testing system no longer assumes that the current time is equal to the current file modification timestamp.
[SVN r79754]
2012-07-26 11:39:42 +00:00
Jurko Gospodnetić
328ef28616 Internal Boost Build testing system cleanup - minor stylistic changes.
[SVN r79752]
2012-07-26 07:33:08 +00:00
Jurko Gospodnetić
35bac5b777 Made Boost Build's internal testing system's file stat() calls report timestamps with greater than 1-second precision if Python/OS/file-system support it even on Python versions prior to 2.5 where this became the default.
[SVN r79740]
2012-07-25 08:03:36 +00:00
Jurko Gospodnetić
6c3df7cd71 Boost Build cleanup - minor stylistic changes.
[SVN r79739]
2012-07-25 07:25:12 +00:00
Jurko Gospodnetić
b828d3531b Updated the internal Boost Build rebuilds.py test to report additional debugging information in case of failure.
[SVN r79738]
2012-07-25 07:17:01 +00:00
Jurko Gospodnetić
89f26e148b Corrected the internal Boost Build rebuilds.py test to avoid incorrectly detected failures when a file to be rebuilt ('bar') gets rebuilt too quickly in one of the test cases (used to fail if the original file and the rebuilt file did not have file modification timestamps with the same second).
[SVN r79737]
2012-07-25 07:15:06 +00:00
Jurko Gospodnetić
8e29fa56a3 Split internal Boost Build testing system's Tester.wait_for_time_change_since_last_build() operation into Tester.wait_for_time_change_since_last_build() and Tester.wait_for_time_change() to allow test code to wait for a timestamp changes unrelated to the last build run.
[SVN r79736]
2012-07-25 07:10:22 +00:00
Jurko Gospodnetić
74b443789d Updated internal Boost Build's testing system code for collecting file modification timestamps information to do so with greater than 1 second precision (if the OS, file system and the used Python implementation support this). This allows for more precise/correct recognizing whether a file has been touched by a build run or not.
[SVN r79735]
2012-07-25 07:01:43 +00:00
Jurko Gospodnetić
53d4c9d5b9 Boost Build cleanup - minor stylistic changes.
[SVN r79734]
2012-07-25 05:36:38 +00:00
Jurko Gospodnetić
dff942e14b Boost Build cleanup - minor stylistic changes & comment updates.
[SVN r79733]
2012-07-25 05:15:42 +00:00
Jurko Gospodnetić
b68013587a Boost Build code cleanup - improved support for initializing toolset & extension modules with more than 8 parameters (current Boost Jam supports up to 19 numbered parameter references) + minor stylistic changes.
[SVN r79720]
2012-07-24 10:33:34 +00:00
Jurko Gospodnetić
b32315556f Cleaned up the internal Boost Build indirect_conditional.py test and updated it to test the project context under which indirect conditionals are run (using the glob rule).
[SVN r79718]
2012-07-24 09:44:29 +00:00
Jurko Gospodnetić
7759f00d81 Cleaned up the internal Boost Build project_glob.py test and made it a bit more strict.
[SVN r79717]
2012-07-24 08:48:27 +00:00
Jurko Gospodnetić
943b911a6b Made Boost Build's internal core_action_output.py test a bit more strict.
[SVN r79716]
2012-07-24 07:36:58 +00:00
Jurko Gospodnetić
3eca1c873f Updated the internal Boost Build project_test3.py test to not test for the complete Boost Jam output but only the important parts. This way warnings shown at misconfigured tester locations will no longer cause this test to fail.
[SVN r79702]
2012-07-23 18:19:34 +00:00
Jurko Gospodnetić
f951fb1559 Updated Boost Build's internal testing system to allow for more detailed output and file content line testing - can now test for multiple lines in sequence, with or without having other lines in between.
[SVN r79701]
2012-07-23 18:10:36 +00:00
Jurko Gospodnetić
9076cd1e0a Reduced the time internal Boost Build testing system needs to wait after a build system test run to be sure that file touch/write operations bump up their target file's modification timestamps enough for the next build system test run to correctly recognize them as modified. Better commented related code.
[SVN r79699]
2012-07-23 17:19:01 +00:00
Jurko Gospodnetić
5522e70bd8 Boost Build internal testing framework cleanup - minor stylistic changes (Python string literal quoting, line wrapping, trailing spaces, updated expected output line leading & trailing spaces to match the actual output).
[SVN r79698]
2012-07-23 16:54:18 +00:00
Jurko Gospodnetić
a3a1170ec1 Boost Jam cleanup - minor stylistic changes.
[SVN r79693]
2012-07-23 09:02:49 +00:00
Jurko Gospodnetić
f9f7b0204e Updated the Windows Boost Build implementation to use direct Windows APIs instead of the Windows POSIX layer & standard C library functionality for collecting information about files. Now returns file timestamps with much better precision than 1 second.
[SVN r79691]
2012-07-23 07:26:02 +00:00
Jurko Gospodnetić
a73598ec7b Updated Boost Build's internal dependency_test.py unit test report additional information on failure. Minor stylistic comment change.
[SVN r79680]
2012-07-22 20:35:40 +00:00
Jurko Gospodnetić
344d758e94 Boost Jam cleanup - removed internal file size tracking. The data was being collected but never actually used and did not support file sizes larger than can fit in a 32 bit integer.
[SVN r79677]
2012-07-22 16:52:53 +00:00
Jurko Gospodnetić
28200e7f97 Boost Jam cleanup - minor comment corrections.
[SVN r79675]
2012-07-22 16:10:36 +00:00
Jurko Gospodnetić
64494521bf Boost Jam cleanup - removed defective header parsing code seemingly intended for stripping trailing newline characters from read lines. This code has never done anything since it was originally added so there seems no reason to 'fix' it to do what it 'seems to have been intended to do'.
[SVN r79674]
2012-07-22 16:05:58 +00:00
Jurko Gospodnetić
fde452f38f Boost Jam cleanup - minor stylistic changes.
[SVN r79673]
2012-07-22 15:43:04 +00:00
Jurko Gospodnetić
35f4195ec7 Boost Jam cleanup - cleaned up some header includes, minor stylistic changes.
[SVN r79672]
2012-07-22 14:53:50 +00:00
Jurko Gospodnetić
3339973c3d Boost Build documentation cleanup - reformatted the architecture.xml document, corrected a lot of typographic errors.
[SVN r79668]
2012-07-22 13:05:12 +00:00
Jurko Gospodnetić
0cb44ba189 Minor stylistic change.
[SVN r79666]
2012-07-22 08:17:32 +00:00
Jurko Gospodnetić
66f0980384 Fixed a Boost Build bug with path feature requirements not getting expanded to a correct relative path depending on where the build was getting run from, if added by an indirect conditional feature rule. Fixes ticket http://svn.boost.org/trac/boost/ticket/7144. Thanks to dimak <dvb.kharkov _at_ gmail _dot_ com> for reporting this and preparing a reproducible test case.
[SVN r79665]
2012-07-22 07:40:52 +00:00
Jurko Gospodnetić
59ccb1f48b Allowed Boost Build option rule to be used in test-config configuration files. Corrected and updated the related end-user error message.
[SVN r79656]
2012-07-22 07:17:43 +00:00
Jurko Gospodnetić
ca0d98cc38 Boots Build cleanup - minor stylistic changes.
[SVN r79650]
2012-07-22 07:01:36 +00:00
Jurko Gospodnetić
0f5763ba68 Cleaned up the internal Boost Build path_features.py test script to make it clearer which tests in it are decoupled from each other. Minor stylistic changes.
[SVN r79646]
2012-07-22 05:14:00 +00:00
Jurko Gospodnetić
1082919fb8 Corrected a Boost Build bug causing it to not report an error if a generator needed to determine its target name itself when a source target passed to it as third or later did not have the same name as the first one. Added a related internal Boost Build unit test.
Caught and reported by Adder <adder.thief _at_ gmail.com>.

[SVN r79629]
2012-07-20 19:12:59 +00:00
Jurko Gospodnetić
f9e355ede9 Updated the internal Boost Build testing framework to support writing or touching files in its test folder without waiting for a timestamp change from a previous build run. This should allow tweaking the tests to run with a bit less delay (up to 2s as currently implemented) between test runs where possible.
[SVN r79628]
2012-07-20 19:06:07 +00:00
Jurko Gospodnetić
ac6b378f22 Refactored the internal Boost Build generators-test.py test into a single Python script not depending on externally prepared files to make it easier to extend with additional tests unrelated the current one but reusing the functionality prepared for the already existing tests. Corrected a minor appender.jam comment typo in the process.
[SVN r79627]
2012-07-20 19:03:50 +00:00
Jurko Gospodnetić
3f00e9c0b1 Boost Build code cleanup - minor stylistic changes.
[SVN r79626]
2012-07-20 18:49:07 +00:00