Commit Graph

1149 Commits

Author SHA1 Message Date
Rene Rivera
a025064fa1 Fix prebuilt test to not rely on toolset name on OSX. 2017-06-15 09:06:11 -05:00
Edward Diener
c6b219507a Merge branch 'vmrob-fix-eol-stripping' into develop 2017-05-08 23:00:14 -04:00
Edward Diener
f11d57f633 Fixed the tests for Windows when 'echo' is involved. 2017-05-08 13:12:27 -04:00
Steven Watanabe
68d3b9721f Fix test pattern on Windows. 2017-05-02 17:27:44 -06:00
Steven Watanabe
4aa88f9d5d Merge branch 'debug' into develop 2017-05-02 16:03:45 -06:00
Edward Diener
b8b2b8a3a4 Merge branch 'fix-eol-stripping' of https://github.com/vmrob/build into vmrob-fix-eol-stripping 2017-05-02 07:44:15 -04:00
Steven Watanabe
540c6bdbe7 Fix test/link.py on windows. The problem is a result of the fact that stat on Windows behaves like lstat, which causes changes to be reported when a link is updated. Fixes #185. 2017-04-26 14:54:03 -06:00
Steven Watanabe
80c0f5f8d2 Tests for MI. 2017-03-30 13:24:09 -06:00
Arkadiy Shapkin
2c46d25536 "core-language" test fixed for Windows 10 2017-03-19 19:50:52 +08:00
Steven Watanabe
27ec3bf2d8 Add documentation and test error conditions. 2017-03-09 12:16:30 -07:00
Steven Watanabe
8f92b128bd Get mi working again. Improve tests and error handling. 2017-03-06 17:48:37 -07:00
Steven Watanabe
6f5522aaa5 Merge branch 'develop' into debug
Conflicts:
	src/engine/function.c
	src/engine/scan.h
2017-03-01 09:50:57 -07:00
Victor Robertson
851c19fa6b
Fix strip-eol for long command output
Previously, when shell command output exceeded the 1024 character
buffer size, each chunk of output would be stripped. This had the
undesirable effect of sometimes breaking compilation by splitting on
whitespace boundaries. This patch addresses the issue by providing a
string_rtrim function and utilizing the function on the output string
instead of each buffered component.
2016-11-04 16:30:44 -07:00
Aaron Boman
cf04401049 Fix test_rc for Py26 tests. 2016-10-27 20:22:06 -05:00
Aaron Boman
1a51b6aa07 Fix dependency_property test. 2016-10-27 20:22:05 -05:00
Aaron Boman
5369b25498 Partially fix test_rc. 2016-10-27 20:22:05 -05:00
Aaron Boman
0490f58071 Fix source_order test 2016-10-27 20:22:05 -05:00
Aaron Boman
db45f34192 Fix scanner_causing_rebuilds test 2016-10-27 20:22:04 -05:00
Aaron Boman
0ef26673c5 Fix inherit_toolset test. 2016-10-27 20:22:04 -05:00
Aaron Boman
1bd0eab600 Enable type checking for Python tests. 2016-10-27 20:22:03 -05:00
Aaron Boman
f993e75a7f Fix conditionals_multiple test. 2016-10-27 20:22:02 -05:00
Aaron Boman
0055072ad6 Support passing --stacktrace to tests. 2016-10-27 20:21:59 -05:00
Rene Rivera
895196b739 Fix time data test for added clock field. 2016-10-12 08:50:23 -05:00
Steven Watanabe
c7b2c57e79 Start testing mi. 2016-03-10 12:49:57 -07:00
Steven Watanabe
2564ce1853 Add test for print. 2016-03-09 15:33:31 -07:00
Steven Watanabe
e2d07ad6db Make sure that source files end with a newline. 2016-03-01 12:48:38 -07:00
Steven Watanabe
7a59e03049 Fix test on windows. We shouldn't assume that W32_GETREGNAMES returns its results in any particular order. 2016-03-01 10:44:56 -07:00
Jürgen Hunold
4c546c3c15 Add support for more Qt libraries
- QtDataVisualization
- QtSerialPort
- QtWebChannel
- QtWebSockets
- QtPurchasing
- WebEngine (QtWebengine and QtWebengineWidgets)
- Connectivity (QtBluetooth and QtNfc)
- QtGamepad
- QtScxml
- QtSerialBus
2016-02-28 17:09:32 +01:00
Steven Watanabe
2326cfe458 Finish porting tests to the new utility rule. 2016-02-22 19:34:34 -07:00
Steven Watanabe
1c86c4868e Tests for backtrace. Also add a simple utility to make these tests easier to read. 2016-02-22 12:59:06 -07:00
Steven Watanabe
7d7de34346 More testing. Fix some issues exposed by the new tests. 2016-02-20 18:30:55 -07:00
Steven Watanabe
e9db80896f Merge remote-tracking branch 'origin/develop' into debug
Conflicts:
	src/engine/builtins.c
	src/engine/builtins.h
	src/engine/function.c
	src/engine/jam.c
2016-02-19 12:02:22 -07:00
Steven Watanabe
51a9304c24 Start making tests more systematic. 2016-02-18 12:24:37 -07:00
Steven Watanabe
2a5032261f Get backtrace working and add some more tests. 2016-02-17 10:30:48 -07:00
Steven Watanabe
5424ef24d4 Add tests and get break output to work in console mode. 2016-02-16 14:35:31 -07:00
Jürgen Hunold
54cfd5115c Support for upcoming QtCharts and Qt3D libraries 2016-02-11 16:44:30 +01:00
Jürgen Hunold
8dfda383ed Ignore bin directory created by running the tests 2016-02-11 16:02:57 +01:00
Jürgen Hunold
e616a56d55 Finally adapt to Boost.Test changes in 1.59.0 2016-02-11 16:02:38 +01:00
Vladimir Prus
7c5b4a4c9b Disable library_order test for now. 2016-02-04 03:24:35 -05:00
Vladimir Prus
e891e4b76c Run Boost.Build tests via Travis CI.
Merge from branch 'develop-travis-ci-python-tests' of https://github.com/tee3/build
2016-02-04 03:13:05 -05:00
Vladimir Prus
99b4b805a8 Revive path_features.py.
Relative imports no longer generate relative module names.
2016-02-01 02:37:21 -05:00
Thomas Brown
4d7edbdd53 test: Exit unsuccessful with failures. 2016-01-03 22:30:42 -05:00
Vladimir Prus
4a5cf7f909 OpenVMS support.
See https://github.com/boostorg/build/pull/100
2015-12-14 02:46:44 -05:00
loonycyborg
2d3c5bd16d Added regression test for bzip2 tool 2015-12-14 02:32:49 -05:00
Artur Shepilko
c1de12e683 Add toolset vmsdecc for HP DECC/C++ on VMS. 2015-10-24 12:21:33 -05:00
Artur Shepilko
63021f6d64 Add GLOB_ARCHIVE builtin. 2015-10-24 12:21:31 -05:00
Aaron Boman
5843dec89c Expand command line properties as late as possible 2015-10-13 02:59:20 -04:00
Curt Moore
04c2c48ea1 Whitespace cleanup. 2015-09-17 10:24:07 +03:00
Jürgen Hunold
a8cd115cc3 Add support for QtLocation and QtPositioning libraries.
Both are tech preview in 5.4 and officially supported in 5.5
2015-06-05 10:06:52 +02:00
Steven Watanabe
ae1183ee2d Return really returns now. Also implement break/continue. 2015-04-18 14:30:43 -06:00
Rene Rivera
856e7e9f33 Fix detection of built-in bjam/b2 exec on Darwin when running on modern
x86_64 machines.
2015-04-10 08:24:05 -05:00
Takeshi Abe
141801e33e Typo: supress -> suppress 2015-04-01 12:37:18 +03:00
Steven Watanabe
30d35ce80d Make order stable. This restores the old behavior of printing includes in alphabetical order. When I added the topological sort for includes, it caused directories with no constraints to be printed in reverse alphabetical order under some circumstances. This broke existing users who relied on the original order. While I believe that users should not depend on any order for include directories that is not explicitly stated, I'd rather not gratuitously break such uses. This is especially true since explicitly ordered includes only worked in the simplest cases prior to my topological sort patch. 2015-02-28 14:16:34 -07:00
Steven Watanabe
89d6d77396 Issue an error when a file is linked from more than one source directory. 2015-02-26 10:15:32 -07:00
Steven Watanabe
2520b6c1bf Make sure that files and directories under a deleted symlink are restored if needed. 2015-02-25 20:22:56 -07:00
Steven Watanabe
25899a8073 Fix some problems when splitting a linked directory. This can show up when adding a new library. The bug was order-dependent and didn't appear in the original tests. 2015-02-24 13:37:53 -07:00
Steven Watanabe
52f7ac2c65 Make sure that symlinks are updated when switching from a non-symlink configuration. Add tests for every possible combination of configuration switching. 2015-02-24 12:55:36 -07:00
Vladimir Prus
67df2c5809 Update expected error message wording. 2014-10-03 16:59:58 +04:00
Jürgen Hunold
cb0a9660f6 make qt5 rcc testcase use Qt5Core 2014-06-13 19:20:23 +02:00
Jürgen Hunold
70d1bbde74 adjust paths to modular layout 2014-06-13 19:19:38 +02:00
Steven Watanabe
d782ec52d0 Don't exit immediately on Windows if JAMSHELL is % and CreateProcess fails. 2014-04-03 14:13:33 -07:00
Steven Watanabe
290e284ffe topological sort ordered includes. 2014-04-01 13:12:17 -07:00
Steven Watanabe
5c1a97b928 cxxflags should not apply to C files. Fixes #9815. 2014-03-28 15:46:26 -07:00
Steven Watanabe
6f709a2706 Attempt to fix source_order.py on Windows. 2014-03-26 16:43:47 -07:00
Steven Watanabe
e8c4dd3366 prebuilt.py needs to treat clang-darwin the same way as darwin. 2014-03-26 14:52:30 -07:00
Steven Watanabe
9732c695d1 Fix bug in pathnt.c that caused the results of GLOB to be downcased under some circumstances. 2014-03-24 15:18:37 -07:00
Steven Watanabe
27d418a53e Add toolset_requirements.py to the test suite. 2014-03-12 12:09:30 -07:00
Steven Watanabe
b869e58fa0 Fix broken toolset.add-requirements. 2014-03-06 08:14:17 -08:00
Steven Watanabe
80acd48dd4 Update test to match source change. 2014-02-04 18:41:34 -08:00
Vladimir Prus
4833fc7336 Add Python port test results.
Storing those in git is not perfect, but we need to have
baseline results known, and it's the easiest approach.
2014-01-15 22:49:26 +04:00
Vladimir Prus
5d8dd4c4a6 Adjust relative paths to match git rewritten history. 2013-12-14 21:28:49 +04:00
Steven Watanabe
6ec96c4d56 Avoid sorting the sources of composing generators.
[SVN r86767]
2013-11-19 17:30:34 +00:00
Steven Watanabe
69c7b06c70 Add tests for link.jam. Fix timestamp/dependency problem that made symlinks cause unnecessary rebuilds on Windows.
[SVN r86709]
2013-11-14 23:24:50 +00:00
Steven Watanabe
c1395b4961 Make the handling of actions that produce multiple targets more correct.
[SVN r86561]
2013-11-04 22:35:14 +00:00
Jürgen Hunold
f6fc8eb665 use the offscreen plugin for gui testing
[SVN r86048]
2013-09-30 05:44:38 +00:00
Christian Henning
885f3fc00e some test modules for libjpeg and libtiff.
[SVN r84665]
2013-06-07 00:23:18 +00:00
Steven Watanabe
df2b34d63c Initial supprort for creating symlinks in the git layout.
[SVN r84524]
2013-05-27 00:02:43 +00:00
Christian Henning
1138feb932 libpng mock test.
[SVN r84498]
2013-05-25 15:54:54 +00:00
Steven Watanabe
061f998f43 Optimize member function calls to use less string manipulation.
[SVN r83937]
2013-04-16 23:54:54 +00:00
Steven Watanabe
37e8ad4922 Don't let python write .pyc files. They might not be updated, if the test runs too fast.
[SVN r83923]
2013-04-16 01:29:09 +00:00
Steven Watanabe
5a3c570eda Add extra debug information with --verbose.
[SVN r83916]
2013-04-15 16:30:23 +00:00
Steven Watanabe
b71dc6d386 Fix .obj extension on msvc.
[SVN r83887]
2013-04-13 22:53:06 +00:00
Steven Watanabe
b99c32cbed Fix file extension handling on Windows.
[SVN r83885]
2013-04-13 22:19:00 +00:00
Steven Watanabe
64b8542700 Make sure that we get the long path form of the cwd so that path comparison works correctly.
[SVN r83884]
2013-04-13 22:01:36 +00:00
Steven Watanabe
132c0faa2c Really fix test.
[SVN r83880]
2013-04-13 18:34:32 +00:00
Steven Watanabe
efbd669671 Add a few more cases.
[SVN r83875]
2013-04-13 16:55:17 +00:00
Steven Watanabe
f75b63a62b Try to fix path handling for the Jam executable.
[SVN r83836]
2013-04-10 20:38:21 +00:00
Steven Watanabe
62b79b8ebe Special case for $(x:G)
[SVN r83812]
2013-04-08 17:40:28 +00:00
Steven Watanabe
19540a5426 Try to make path comparison work on Windows.
[SVN r83810]
2013-04-08 15:27:40 +00:00
Steven Watanabe
24c0086bdc Fix extension handling.
[SVN r83802]
2013-04-07 22:21:33 +00:00
Steven Watanabe
ec9ad613c4 Disable all configuration files.
[SVN r83801]
2013-04-07 22:16:45 +00:00
Steven Watanabe
34f34e5436 Implement caching for configuration checks.
[SVN r83781]
2013-04-06 21:40:55 +00:00
Steven Watanabe
813552d5ce Fix the return status when updating targets that have failed in a prior call to UPDATE_NOW.
[SVN r83778]
2013-04-06 17:18:20 +00:00
Steven Watanabe
4fcd90347e Add test with explicit name/search/include.
[SVN r83774]
2013-04-06 02:11:29 +00:00
Steven Watanabe
259b0c5a6f Initial tests for zlib configuration.
[SVN r83773]
2013-04-06 01:32:36 +00:00
Steven Watanabe
94de4748d9 Don't reset -q after calling UPDATE_NOW with ignore-minus-n
[SVN r83629]
2013-03-29 15:41:19 +00:00
Steven Watanabe
fb07490ec7 Tests that use the compiler need user-config.jam or they will fail if the toolset requires non-default initialization.
[SVN r83618]
2013-03-28 00:16:19 +00:00
Jürgen Hunold
ff802ac430 Fix QtTest test
[SVN r82655]
2013-01-28 08:54:39 +00:00
Jürgen Hunold
cf6c57588b Add support for QtWebkitWidgets. Fixes #7920
Thanks to Frank Richter for the patch.

[SVN r82654]
2013-01-28 08:54:26 +00:00
Jürgen Hunold
4cb47ecdc0 Start Qt5 support
[SVN r82033]
2012-12-16 20:48:35 +00:00
Jürgen Hunold
4fa430eae5 Add <rccflags> to qt4.jam. Fixes #7576
Thanks to Frank Richter for the initial patch and documentation.

[SVN r81689]
2012-12-03 08:28:09 +00:00
Steven Watanabe
da7ae0d449 Add test for message.jam
[SVN r80981]
2012-10-13 21:58:54 +00:00
Jurko Gospodnetić
7b9e374c83 Boost Build cleanup - minor stylistic changes.
[SVN r80327]
2012-08-31 05:32:49 +00:00
Jurko Gospodnetić
f06afd96e1 Corrected Boost Build's internal project_id.py test to pass on Cygwin. Added related FIXME comments to make the test more detailed on Cygwin in the future.
[SVN r80095]
2012-08-20 13:07:09 +00:00
Jurko Gospodnetić
a1b30c4df6 Internal Boost Build unused.py test cleanup - corrected a buggy check for target's usage reguirements being propagated even when it generates no virtual targets, inlined all the used test code into the test script so it no longer relies on any external files, now reporting more detailed compiler error messages in case of a failed compilation test without having to explicitly specify the --verbose command-line option.
[SVN r80093]
2012-08-20 12:29:36 +00:00
Jurko Gospodnetić
c538d59bc4 Minor stylistic copyright comment change.
[SVN r80091]
2012-08-20 11:45:09 +00:00
Jurko Gospodnetić
ae9a213fea Boost Build's internal module_actions.py test updated to pass when run with the --verbose option by allowing extra output lines between those expected by the test itself.
[SVN r80090]
2012-08-20 11:34:27 +00:00
Jurko Gospodnetić
e48de377ff Internal Boost Build module_actions.py test cleanup - no longer depends on externally prepared data, minor stylistic changes.
[SVN r80089]
2012-08-20 11:32:14 +00:00
Jurko Gospodnetić
cac4b6b2e4 Internal Boost Build testing framework cleanup - expecting output/content lines now correctly interprets requests with lines given as a container of strings.
Given strings represent expected continuous line sequences (separated by \n) and extra lines are allowed between content represented by different successive strings. For example, lines = ['foo\nbar', 'baz'] would match:
  aaa
  foo
  bar
  bbb
  baz
  ccc
but would not match:
  aaa
  foo
  xxx
  bar
  bbb
  baz
  ccc

Added a description comment for the related Tester.__expect_lines() implementation function.

[SVN r80088]
2012-08-20 10:08:28 +00:00
Jurko Gospodnetić
b680388a33 Made Boost Build's internal project_id.py test more detailed regarding registering the same project id for the same project, but with the project module specified in different ways.
[SVN r80087]
2012-08-19 18:46:14 +00:00
Jurko Gospodnetić
618e33fcc8 Made Boost Build's internal project_id.py test more detailed regarding registering the same project id for the same project, but with the project module specified in different ways.
[SVN r80085]
2012-08-19 17:48:44 +00:00
Jurko Gospodnetić
acce9eb49b Internal Boost Build testing system cleanup - minor stylistic change.
[SVN r80084]
2012-08-19 17:03:11 +00:00
Jurko Gospodnetić
157384906d Internal Boost Build resolution.py test cleanup - minor stylistic change.
[SVN r80020]
2012-08-14 04:48:11 +00:00
Jurko Gospodnetić
0c32720912 Cleaned up internal Boost Build dependency_test.py test - made the test script create all of its needed test project files at run-time instead of having them maintained as actual Boost Build project files.
[SVN r80013]
2012-08-13 18:16:14 +00:00
Jurko Gospodnetić
7563ac7877 Internal Boost Build dependency_test.py test cleanup - removed some old and no longer relevant comments (from the time before the <dependency> feature got renamed to <implicit-dependency>), better commented the <implicit-dependency> feature usage, removed redundant ignoring of *.tds Borland debugger symbol files (already done internally in the BoostBuild.py testing system implementation module), minor stylistic changes.
[SVN r80012]
2012-08-13 17:55:20 +00:00
Jurko Gospodnetić
66a9427409 Corrected the internal Boost Build project_id.py test to pass with the latest changes made in the project.py module.
[SVN r80004]
2012-08-13 14:22:02 +00:00
Jurko Gospodnetić
c41cce76fb Simplified Boost Build's internal project_id.py test a bit.
[SVN r79940]
2012-08-08 22:50:42 +00:00
Jurko Gospodnetić
654b8e6a9a Added a new internal Boost Build test checking Boost Build's project id handling.
[SVN r79939]
2012-08-08 22:29:29 +00:00
Jurko Gospodnetić
93c0e2c9b4 Intenral Boost Build testing system cleanup - minor stylistic change.
[SVN r79938]
2012-08-08 22:20:10 +00:00
Jurko Gospodnetić
bd3638395a Boost Build cleanup - minor stylistic changes.
[SVN r79935]
2012-08-08 19:35:21 +00:00
Jurko Gospodnetić
32a4f35669 Cleaned up the 'unused' abs_workdir.py internal Boost Build test a bit. Added related embedded TODO comments.
[SVN r79903]
2012-08-07 12:22:24 +00:00
Jurko Gospodnetić
41ca167bb0 Internal Boost Build path_features.py test cleanup - minor stylistic changes.
[SVN r79883]
2012-08-05 19:45:28 +00:00
Jurko Gospodnetić
f1c1939de6 Corrected the internal Boost Build path_features.py test to not fail in case the used compiler does not modify any bytes in one of the recompiled .obj files and only updates its timestamp, as msvc occasionally does.
[SVN r79882]
2012-08-05 19:39:21 +00:00
Jurko Gospodnetić
dade55458e Updated Boost Build's internal collect_debug_info.py test to collect additional Boost Jam version information - OS name and the minimum supported path modification timestamp.
[SVN r79881]
2012-08-05 18:32:38 +00:00
Jurko Gospodnetić
a2413be235 Restored old Boost Jam '-v' version information screen to what it was like before revision [79779] as requested by Steven Watanabe. Boost Jam now reports its minimum supported path modification timestamp resolution using a new builtin JAM_TIMESTAMP_RESOLUTION variable. Updated Boost Build's internal testing system to correctly fetch this Boost Jam version information.
[SVN r79880]
2012-08-05 18:31:19 +00:00
Jurko Gospodnetić
b15f9a1a62 Made Boost Build clear its 'current project' reference after it is done with loading project modules. Any request for the 'current project' reference when there is no project module currently being loaded will now be treated as an error. Updated the related indirect_conditional.py internal Boost Build test case accordingly.
Additional implementation notes:
  - internal worker project.load-jamfile() rule now resets the current project when done
  - project.use() no longer needs to reset the current project since project.load-jamfile() does that now

[SVN r79874]
2012-08-05 15:12:58 +00:00
Jurko Gospodnetić
81d19ead3d Boost Build cleanup - minor stylistic changes.
[SVN r79865]
2012-08-04 22:40:25 +00:00
Jurko Gospodnetić
59b1c674f4 Internal Boost Build project_root_constants.py test cleanup - minor stylistic changes + better implemented output content tests to display more detailed information on failure.
[SVN r79864]
2012-08-04 22:13:35 +00:00
Jurko Gospodnetić
aaa350a78d Boost Build cleanup - minor stylistic changes.
[SVN r79862]
2012-08-04 11:34:31 +00:00
Jurko Gospodnetić
54515f44ec Updated the internal Boost Build testing framework to work correctly with older Boost Jam releases that did not report their minimum supported path modification timestamp resolution and did not support path modification timestamp resolutions finer than 1 second.
[SVN r79831]
2012-08-01 11:41:39 +00:00
Jurko Gospodnetić
e7f4639032 Updated Boost Build's internal testing system to reduce wait times between successive build system runs depending on the supported path modification timestamp resolution. This reduces the total time needed to run the current test suite on one Windows PC from cca. 8 to cca. 6 minutes.
Additional consequences:
  * Makes the test system work correctly even should it ever be run with files stored on different file systems with different supported minimal path modification timestamp resolutions, e.g. NTFS (<1 ms) & FAT (2 sec).
  * When requesting a new file to be written with a large enough file modification timestamp, any missing folders created in the process are created with large enough modification timestamp as well.
  * Source paths with modification timestamps set too far in the future will now be reported as test environment errors instead of causing the test system to wait for some possibly long (all internal sleeps now limited to 5 seconds).

[SVN r79830]
2012-08-01 10:42:57 +00:00
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ć
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ć
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ć
dff942e14b Boost Build cleanup - minor stylistic changes & comment updates.
[SVN r79733]
2012-07-25 05:15:42 +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