Vladimir Prus
1b5b90d27d
Exclude default_toolset.py
...
[SVN r54972]
2009-07-15 19:06:04 +00:00
Jurko Gospodnetić
0a29b8a0fa
Makes the Boost Build testing system correctly report the number of passed test cases instead of reporting all test cases as passed.
...
[SVN r51396]
2009-02-22 17:36:30 +00:00
Jurko Gospodnetić
6d33d8fee8
Converted tabs to spaces in the Boost Build test/test_all.py to make all whitespace style used in this file consistent.
...
[SVN r51391]
2009-02-22 16:02:58 +00:00
Jurko Gospodnetić
6141766099
Removed trailing spaces.
...
[SVN r51390]
2009-02-22 15:55:04 +00:00
Vladimir Prus
4cea549570
Include more attributes in test results
...
[SVN r50179]
2008-12-07 14:56:43 +00:00
Vladimir Prus
7cb2facd25
Include annotations in test log
...
[SVN r50173]
2008-12-07 08:41:56 +00:00
Vladimir Prus
31f8201758
Make sure 'FAILED' is printed on failure
...
[SVN r49787]
2008-11-16 13:19:26 +00:00
Vladimir Prus
254c369634
XML output support
...
[SVN r49731]
2008-11-13 21:30:05 +00:00
Steven Watanabe
ad70071286
Make common.copy set the timestamp of the destination to the current time on windows
...
[SVN r49463]
2008-10-27 16:27:53 +00:00
Jurko Gospodnetić
74e54f450a
Fixed how Boost Build's automated testing results get reported in case of tests running on files containing spaces in their path. Regression test added as well.
...
[SVN r48645]
2008-09-07 07:33:30 +00:00
Jurko Gospodnetić
f82be54d47
Reordered all Boost Build test declarations alphabetically to make it easier to scan through them visually.
...
[SVN r48597]
2008-09-05 02:04:51 +00:00
Jurko Gospodnetić
13d30f14be
Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new generator. Currently quick-fixed by clearing most of the cached values when registering a new generator. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them or even only marking them to be lazily updated when needed next.
...
Problem detected & and a reproducible example constructed by Juraj Ivančić. Debugged by Vladimir Prus. Patched and packaged by Jurko Gospodnetić.
[SVN r48590]
2008-09-05 00:26:43 +00:00
Jurko Gospodnetić
5edbde2a57
Renamed differently named Jamroot and Jamfile files throughout Boost Build's test suite to jamroot.jam & jamfile.jam. Stylistic changes throughout the whole Boost Build test suite.
...
[SVN r48504]
2008-08-31 21:42:27 +00:00
Jurko Gospodnetić
341ed058ec
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ć
d4c6a4555c
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
Rene Rivera
0b427bcb4a
Revert changeset [47536].
...
[SVN r47571]
2008-07-18 16:13:20 +00:00
Steven Watanabe
ca7748efe2
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
6b5b66240e
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
544c50a044
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ć
5ea6d62a5c
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ć
c7233ba87c
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ć
50329a58c4
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ć
ccdddeaf72
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ć
475813d4ba
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ć
d96735566f
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
Vladimir Prus
8ee55c0651
Don't run gcc_runtime test on msvc
...
[SVN r39197]
2007-09-11 19:36:48 +00:00
Vladimir Prus
faedb8b0ef
Print test results summary at the end
...
[SVN r39166]
2007-09-08 00:26:18 +00:00
Vladimir Prus
28f5cfdd14
Make output from test run nicer, and more structured.
...
In future, we might be able to generate XML, or any other voodoo
we want.
[SVN r39161]
2007-09-07 23:18:20 +00:00
Vladimir Prus
cd3fd6b171
Make free features on the command line affect all targets,
...
not just directly requested ones.
Fixes #985 .
[SVN r39104]
2007-09-01 21:46:09 +00:00
Vladimir Prus
13c31bf0c2
Enable pch test on msvc
...
[SVN r36143]
2006-11-22 09:33:07 +00:00
Rene Rivera
177744f40d
A variety of changes to make most tests pass on Windows (with mingw):
...
* BoostBuild.py; Make the matching of content and files be more loose and use pattern globbing of toolset names.
* glob.py/project_glob.py; Rename to avoid collision with builtin Python module.
* all; Update copyrights and license info.
[SVN r35729]
2006-10-24 23:25:19 +00:00
Vladimir Prus
1d1ab035c1
Test for PCH
...
* BoostBuild.py (Tester.copy_preserving_timestap): New.
* pch.py: New.
* test_all.py: Register pch.py on gcc.
[SVN r35512]
2006-10-07 10:08:19 +00:00
Vladimir Prus
a18d9df30c
Test for 'cancel requirement' feature
...
[SVN r35169]
2006-09-18 19:56:19 +00:00
Vladimir Prus
b9e68f7dfd
Tests for more examples.
...
[SVN r33656]
2006-04-11 07:25:48 +00:00
Vladimir Prus
52839d2e6e
Add a couple of tests for examples.
...
[SVN r33637]
2006-04-10 13:05:26 +00:00
Vladimir Prus
c0a2d3b8e6
Fix a problem where <implicit-dependency> had no effect unless
...
the target named by the property was also build (by virtue of being in
the same Jamfile and not marked as "explicit").
[SVN r32885]
2006-02-13 10:34:45 +00:00
Vladimir Prus
7dac85a322
Add a test that <source> in 'lib' works even if there's no explicit sources.
...
[SVN r32882]
2006-02-13 07:51:33 +00:00
Vladimir Prus
7d6c2a772f
Change the --clean option to only clean targets under references projects.
...
Add the --clean-all option to clean everything.
[SVN r32739]
2006-02-08 15:24:31 +00:00
Vladimir Prus
a73f7de23d
Allow typed main targets to have arbitrary suffix in the name, that does not
...
affect the names of the generated targets and only usefull for preventing
V2 from treating two independent targets as target alternatives.
[SVN r32720]
2006-02-08 08:06:31 +00:00
Vladimir Prus
3764b81c4e
Implement <build>no.
...
[SVN r32708]
2006-02-07 13:46:02 +00:00
Vladimir Prus
4c1960e774
Implement 'indirect conditional requirements', which are simular to V1's
...
convention that rules used in requiremenst are called to provide extra features.
[SVN r32694]
2006-02-07 10:26:17 +00:00
Vladimir Prus
dd110d3c34
Add a test for the "bjam foo.o" feature.
...
[SVN r32429]
2006-01-27 10:34:58 +00:00
Vladimir Prus
763d52aa58
When resolving target id, first look for target in Jamfile, then for
...
file in current dir. This partially reverts rev 1.117 of build/targets.jam.
See test for further explanations.
[SVN r32377]
2006-01-23 09:41:18 +00:00
Vladimir Prus
935b2236db
Fix using of 'glob' in project root rules.
...
There were two problems:
- 'glob' was using __name__ as the name of the project and not
project.current, so it would search in project root, and not in child
project that inherited project root rules.
- the 'import' that's overrided in project context used __name__ to
restore the value of current project
Thanks to Emil Dotchevski for the bug report.
[SVN r30507]
2005-08-08 09:31:39 +00:00
Vladimir Prus
68d3b8f280
Add the 'notfile' target.
...
[SVN r29606]
2005-06-16 08:24:01 +00:00
Vladimir Prus
d7bdc38c6c
Allow "bjam some_directory" to work even if there's no Jamfile in ".".
...
[SVN r29588]
2005-06-15 13:26:37 +00:00
Vladimir Prus
900240c47d
Don't run 'library_order' on cygwin, because test relied on gcc/Linux shlib
...
linking mode.
[SVN r29490]
2005-06-09 08:03:42 +00:00
Vladimir Prus
08aba8f757
Add test for multiple source-location, from Craig Rodrigues.
...
[SVN r29335]
2005-06-01 05:43:25 +00:00
Vladimir Prus
9e753a3f33
Don't run abs_workdir from test_all.py, because that's internal test for
...
test system, not for Boost.Build itself. In addition, the test doesn't work
for Windows.
[SVN r28376]
2005-04-21 08:55:09 +00:00
Vladimir Prus
a3a1019a0c
Allow 'using' in Jamfiles to pick up modules in Jamfile's directory.
...
[SVN r27979]
2005-04-05 12:53:39 +00:00