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

671 Commits

Author SHA1 Message Date
Jurko Gospodnetić
e8cebe30f4 Added Boost Build database unit tests related to inherited dependency property handling.
Part of the work by Steven Watanabe on fixing the Boost Build trac ticket #13 (http://zigzag.cs.msu.su/boost.build/ticket/13).

[SVN r48317]
2008-08-23 12:22:43 +00:00
Jurko Gospodnetić
858a87c9ab Minor stylistic changes made to the Boost Build test/generators_test.py test case module.
[SVN r48310]
2008-08-23 09:08:24 +00:00
Jurko Gospodnetić
265c102f67 Dumping test results no longer fails due to test sources not being located under the main project folder. Added a corresponding unit test which can also be used as a focal point for future test result dumping tests.
[SVN r48296]
2008-08-22 22:06:57 +00:00
Jurko Gospodnetić
9306c3f12c Minor stylistic changes made to the Boost Build test/clean.py test script. Corrected the second test case the --clean option was getting tested instead of --clean-all.
See the trac ticket http://zigzag.lvk.cs.msu.su:7813/boost.build/ticket/198 on what still needs to be improved with this test.

[SVN r47970]
2008-08-04 17:58:53 +00:00
Rene Rivera
4563c7e34e Revert changeset [47536].
[SVN r47571]
2008-07-18 16:13:20 +00:00
Steven Watanabe
f7298b43cf Make c-scanner search directories specified
with <include>a&&b

* tools/buitin.jam
  (c-scanner.__init__) split includes at &&

* test/test_all.py test/ordered_include.py
  Test case for this fix.


[SVN r47537]
2008-07-18 03:25:20 +00:00
Steven Watanabe
8518a6fd56 Make dependency properties specified in project requirements
not cause errors in subprojects.

* build/property.jam
  (tranlate-dependencies) New rule to bind dependency
  properties to the project that they are specified in.

* build/property-set.jam
  (create-from-user-input) Add call to property.translate-dependencies

* test/test_all.py test/inherited_dependency.py
  Test case for this fix.


[SVN r47536]
2008-07-18 03:11:08 +00:00
Jürgen Hunold
80ce5b2b76 Refactoring of library declaration in qt4.jam.
Simplyfied declaration of Qt component libraries.
Removed duplicated code.
Add test cases for most of the Qt component libraries.


[SVN r47391]
2008-07-13 18:40:02 +00:00
Jurko Gospodnetić
bd36639325 Corrected the Boost Build conditionals_multiple.py test case.
[SVN r47343]
2008-07-12 11:25:04 +00:00
Jürgen Hunold
077d0cbc93 Fix: adjust to r40898: Fix: remove <user-interface>gui from usage-requirements of QtGui.
[SVN r47140]
2008-07-06 19:14:42 +00:00
Jurko Gospodnetić
d539f344a3 Minor stylistic comment change.
[SVN r45168]
2008-05-06 09:34:20 +00:00
Jurko Gospodnetić
84a9f25f9f Fixed a bug causing Boost Jam not to handle target file names specified as both short and long file names correctly. Bug fixed by making bindtarget() function map names to TARGETs by using their long file names.
When scanning directories and creating a list of all their content (filent.c) it would identify all the located files and folders using their long file names. On the other hand, referencing a target using its short file name inside a Jam script caused Boost Jam to reference those files twice using two separate TARGET structures - one identified using the file's short name and one using the file's long name.

  One bad example was the MkDir which would always attempt to create a folder identified by its short name even if that folder already existed (due to the NOUPDATE rule getting applied on the incorrect TARGET).

  The change does not affect targets whose names do not represent existing file names.

  Also, it seems to me that the short_path_to_long_path() call in file_dirscan() in the filent.c module should most likely be moved to file_info() in the filesys.c module. This would make mapping file names to file_info_t & TARGET structures consistent. However, I have not done this in this patch just to make the patch as minimal as possible.

  Prepared tests have been do nothing on non Windows platforms.


[SVN r45144]
2008-05-05 15:52:56 +00:00
Jurko Gospodnetić
d7edf299d8 Cleaned up the main Boost Build module a bit related to how it processes explicit file (not target) references specified on the command line. Improved the related unit test. Minor stylistic changes.
[SVN r45070]
2008-05-03 16:05:17 +00:00
Jurko Gospodnetić
b800e2be7a Updated the Boost Build test system's documentation about Tester.run_build_system() parameters. Minor stylistic changes.
[SVN r45005]
2008-05-02 01:02:01 +00:00
Jurko Gospodnetić
e10cbb7c2a Minor stylistic changes.
[SVN r45004]
2008-05-02 00:57:29 +00:00
Jurko Gospodnetić
91c3a8c504 Added a new regression test making sure that the Boost Jam SORT builtin rule does not start getting quadratic behavior in some special cases as well as testing that the sorting algorithm works correctly. Related to the patch committed in revision 44195. Trimmed trailing spaces in tools/build/v2/test/test_all.py.
[SVN r45001]
2008-05-02 00:36:23 +00:00
Jurko Gospodnetić
9f994d6c90 Added support for tests checking that a build run did not take longer than expected to finish. Minor stylistic changes.
[SVN r45000]
2008-05-02 00:12:29 +00:00
Jurko Gospodnetić
692d2cb469 Minor stylistic changes.
[SVN r44995]
2008-05-01 21:19:11 +00:00
Jurko Gospodnetić
4372b775a9 Upgraded the internal Boost Build test system so it can be run from folders whose names contain spaces on Windows. Also added a workaround for a Python bug on Windows where it has some undocumented behavior when starting processes using commands containing quotes.
[SVN r44993]
2008-05-01 20:22:12 +00:00
Jurko Gospodnetić
eff732b908 Fixed a bug with BOOST_BUILD_PATH not getting set correctly in Boost Build unit tests in case it contained spaces.
[SVN r44991]
2008-05-01 19:47:37 +00:00
Jurko Gospodnetić
21648313a7 Updated the Boost Build test system documentation. Now all the command line options are described. Several function descriptions updated.
[SVN r44983]
2008-05-01 17:08:04 +00:00
Jurko Gospodnetić
f23d32f8b2 Updated the main Tester class comment in tools/build/v2/build/v2/test/BoostBuild.py describing all of its available constructor parameters. Minor stylistic changes.
[SVN r44982]
2008-05-01 17:06:02 +00:00
Jurko Gospodnetić
a4fc3f6257 Added explanation comments for match_exact() and match_re() functions in tools/build/v2/test/TestCmd.py. Removed corpse interpreted member from the TescCmd class and the related setter function in tools/build/v2/test/TestCmd.py. Minor stylistic comment changes.
[SVN r44981]
2008-05-01 17:04:22 +00:00
Jurko Gospodnetić
6e3eb35cca Renamed the Tester.wait_for_time_change() function to Tester.wait_for_time_change_since_last_build() to avoid confusion.
[SVN r44970]
2008-05-01 09:55:47 +00:00
Jurko Gospodnetić
c98691d310 Consistently converted tabs to spaces in tools/build/v2/test/BoostBuild.py to avoid confusion reading the Python source.
[SVN r44969]
2008-05-01 09:39:45 +00:00
Rene Rivera
7e238d9b7c Use local sorted() function to support Python < 2.4.
[SVN r44165]
2008-04-11 05:34:00 +00:00
Vladimir Prus
02e16a934e For BoostBuild regression test, handle OSX intel.
Patch from Hugo Duncan.


[SVN r43989]
2008-04-01 18:22:21 +00:00
Jurko Gospodnetić
75cbaf0563 Updated the test so it passes on Windows. Had to change it to enable action output logging and compensate for the fact that now action names are sent to the output as well. Minor stylistic changes.
[SVN r42639]
2008-01-09 17:03:45 +00:00
Jurko Gospodnetić
101e52bea6 Updated the test so it passes on Windows. Had to change it to enable action output logging and compensate for the fact that now action names are sent to the output as well. Minor stylistic changes.
[SVN r42637]
2008-01-09 14:36:37 +00:00
Rene Rivera
a375083c27 Revert various changes that break backward compatibility, and also some minor edits.
[SVN r42633]
2008-01-09 04:34:12 +00:00
Rene Rivera
6f12bd5e02 Revert various changes that break backward compatibility, and also some minor edits.
[SVN r42632]
2008-01-09 04:31:58 +00:00
Jurko Gospodnetić
28ee146607 Fixed a failing test by making it access its action results using the __ACTION_RULE__ rule. Now it works with the default debug level settings (i.e. no action output displayed).
[SVN r42631]
2008-01-09 04:30:25 +00:00
Jurko Gospodnetić
e8474dd69f Fixed a failing test by making it access action output using the __ACTION_RULE__ rule so it would not be affected by the level of debug output given by Boost Build/Jam.
[SVN r42630]
2008-01-09 04:15:35 +00:00
Jurko Gospodnetić
5b239afb81 Added a new test making sure properties conditioned on multiple different feature values are handled correctly. This especially includes testing the case when one of those features is <toolset> and the value given for it includes a toolset version.
[SVN r42613]
2008-01-08 14:40:24 +00:00
Jurko Gospodnetić
67c18a2efd Added a new configuration test making sure that the bug with not being able to process absolute user-config configuration file references never rears its ugly head again.
[SVN r42568]
2008-01-07 18:38:28 +00:00
Jurko Gospodnetić
bca21b46da Code cleanup. Converted to using True/False instead of 1/0. Changed to obey documented coding conventions regarding whitespace and function parameters. Renamed private member functions to use the __ name prefix.
[SVN r42567]
2008-01-07 18:15:13 +00:00
Jurko Gospodnetić
d289a56902 Added new tests related to Boost Build's default toolset handling. They test that the correct default toolset gets use and that when it gets used that has no different status than any other explicitly specified toolset.
[SVN r42549]
2008-01-06 20:56:20 +00:00
Jurko Gospodnetić
7449bd72d2 Added support for tests configuring whether they want their Boost Build to ignore toolset requirements instead of always ignoring them. Minor stylistic changes.
[SVN r42548]
2008-01-06 20:43:25 +00:00
Jurko Gospodnetić
5ab291e73a Simple code cleanup. Typo corrections.
[SVN r42547]
2008-01-06 20:37:55 +00:00
Jurko Gospodnetić
d7df2d92ca Stylistic changes: typo corrections, comment alignments, output string updates, no functional changes, etc.
[SVN r42516]
2008-01-06 08:16:34 +00:00
Jurko Gospodnetić
275694b5db Upgraded the tool for testing that a certain line exists in the given output support so that it now also knows how to test that a certain line does not exist in the given output.
[SVN r42513]
2008-01-06 07:26:46 +00:00
Jurko Gospodnetić
a8f922c12c Added a --test-config command-line option for specifying where the test configuration file should be loaded from instead of always being looked up in Boost Build's test folder. This allows non-test builds to not use test config when it exists on the system and different tests to use different test configurations when needed.
[SVN r42509]
2008-01-06 06:50:56 +00:00
Jurko Gospodnetić
54cf208294 No functional changes but only stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, removing empty lines, removed unnecessary module imports, etc.
[SVN r42507]
2008-01-06 00:53:09 +00:00
Jurko Gospodnetić
9b97e0ac91 No functional changes but only stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, removing empty lines, made tests use Jamfile.jam and Jamroot.jam Boost Build script names, removed unnecessary module imports, etc.
[SVN r42506]
2008-01-06 00:25:48 +00:00
Jurko Gospodnetić
1cca32571d Refactored the test into two separate test functions. Made the 'directory names with dots' test use the expect_output_line() tool instead of a manual find, causing a better diagnostic to be displayed in case of a failure. Made one of the test Jam scripts more compact. Made the test use the Jamroot.jam file instead of project-root.jam.
[SVN r42504]
2008-01-05 23:18:17 +00:00
Jurko Gospodnetić
970d44358f Test code cleaned up a bit. No functional changes.
[SVN r42499]
2008-01-05 21:37:15 +00:00
Jurko Gospodnetić
b871e58f62 Renamed some Jamfile and project-root.jam references to Jamfile.jam and Jamroot.jam respectively.
[SVN r42498]
2008-01-05 20:48:50 +00:00
Jurko Gospodnetić
07ba5ac218 Minor stylistic changes - cleaned up import calls, wrapped much text at 80 characters updated comments, typo corrections, removed trailing spaces, etc.
[SVN r42497]
2008-01-05 20:37:44 +00:00
Jurko Gospodnetić
f108323c1e Simplified the used make rules. Removed some dead code. Minor stylistic changes.
[SVN r42490]
2008-01-05 18:14:20 +00:00
Jurko Gospodnetić
e54169f771 Stylistic comment changes & typo corrections in several files. Corrected an incorrect error message in boost-build/build/project.jam displayed when a --build-dir command-line option and a non top-level project build-dir attribute are specified.
[SVN r42486]
2008-01-05 17:52:31 +00:00