Steven Watanabe
e187955f5e
Update unused.py and add it to test_all.py.
...
[SVN r75879]
2011-12-09 18:19:50 +00:00
Steven Watanabe
cf2e6f77ed
Fix direct_request_test and add it to test_all.py.
...
[SVN r75877]
2011-12-09 16:08:44 +00:00
Steven Watanabe
791ef6d70a
Handle STDOUT and STDERR in @ files.
...
[SVN r75872]
2011-12-09 03:56:02 +00:00
Steven Watanabe
c9f73695e3
Remove file_name_handling.py. The functionality that it was testing was a horrible hack that never really worked to solve a problem that has since been fixed in another way.
...
[SVN r75857]
2011-12-07 19:49:17 +00:00
Steven Watanabe
ec4d53ec97
Remove tests from Boost.Build V1.
...
[SVN r75850]
2011-12-07 16:52:58 +00:00
Steven Watanabe
67c759581d
Integrate everything useful from check-jam-patches into the Python test system.
...
[SVN r75835]
2011-12-07 05:05:03 +00:00
Steven Watanabe
71b24b5005
Integrate the tests in test/engine/ into the Python test scripts.
...
[SVN r75834]
2011-12-07 02:43:29 +00:00
Steven Watanabe
c8480a9cf5
Try to test the language semantics thoroughly
...
[SVN r75738]
2011-11-30 00:06:31 +00:00
Vladimir Prus
c411fb609b
Port build/configure.jam.
...
Also allow to expose Python class to Jam, which fixes
tag.py and inline.py testcases.
[SVN r64610]
2010-08-05 06:22:58 +00:00
Vladimir Prus
90c3f1170f
Fix detection of exit status. We use close on pipe to get return status
...
and if program does exit(1) we get '1'. The code for checking was
using os.WIFSIGNALLED, and that returns true for '1' -- it seems like
it is expecting result of os.system, which would be 256, or something.
[SVN r62634]
2010-06-09 07:09:29 +00:00
Vladimir Prus
2b66a7dc04
Exclude default_toolset.py
...
[SVN r54972]
2009-07-15 19:06:04 +00:00
Jurko Gospodnetić
9de7e80a1a
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ć
478d847f17
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ć
955acd74da
Removed trailing spaces.
...
[SVN r51390]
2009-02-22 15:55:04 +00:00
Vladimir Prus
182ce6525e
Include more attributes in test results
...
[SVN r50179]
2008-12-07 14:56:43 +00:00
Vladimir Prus
6d6162bc99
Include annotations in test log
...
[SVN r50173]
2008-12-07 08:41:56 +00:00
Vladimir Prus
c3c4a6ac16
Make sure 'FAILED' is printed on failure
...
[SVN r49787]
2008-11-16 13:19:26 +00:00
Vladimir Prus
3166e502a4
XML output support
...
[SVN r49731]
2008-11-13 21:30:05 +00:00
Steven Watanabe
77a9d5d406
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ć
03b33009ec
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ć
cd67c38e31
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ć
324e6bc227
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ć
f20f88b91d
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ć
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ć
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
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ć
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ć
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ć
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ć
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ć
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
Vladimir Prus
9af56e0e97
Don't run gcc_runtime test on msvc
...
[SVN r39197]
2007-09-11 19:36:48 +00:00
Vladimir Prus
8edaa3e0f1
Print test results summary at the end
...
[SVN r39166]
2007-09-08 00:26:18 +00:00
Vladimir Prus
7663d860e2
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
aef14d8748
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
6488ce31d9
Enable pch test on msvc
...
[SVN r36143]
2006-11-22 09:33:07 +00:00
Rene Rivera
da98fd5c48
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
90f7514eb8
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
0df12c504b
Test for 'cancel requirement' feature
...
[SVN r35169]
2006-09-18 19:56:19 +00:00
Vladimir Prus
06adc0f63b
Tests for more examples.
...
[SVN r33656]
2006-04-11 07:25:48 +00:00
Vladimir Prus
b31d716fb7
Add a couple of tests for examples.
...
[SVN r33637]
2006-04-10 13:05:26 +00:00
Vladimir Prus
f1d1f6d3a4
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
b09996a61d
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
3bec6c2038
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
79d7a448aa
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
3d42d08c00
Implement <build>no.
...
[SVN r32708]
2006-02-07 13:46:02 +00:00