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

74 Commits

Author SHA1 Message Date
Steven Watanabe
2844aa9b1d Make the test reporting system handle the bcp tests properly
[SVN r61925]
2010-05-12 04:32:43 +00:00
Vladimir Prus
2674d67c72 Reset everyting back to revision 56032.
My partial reverts of things appear to be creating bigger mess.


[SVN r56042]
2009-09-05 12:44:28 +00:00
Vladimir Prus
21896bba81 Revert revision 48644.
It contains so many formatting changes to as make porting things to
Python impossible. I'll cherry-pick the todo and non-formatting changes
soonish.


[SVN r56034]
2009-09-05 12:01:30 +00:00
Vladimir Prus
c986942596 Preserve test targets by default.
[SVN r52062]
2009-03-30 17:16:09 +00:00
Vladimir Prus
6d3911e870 Kill --preserve-test-targets option. Introduce
preserve-test-targets feature.


[SVN r49696]
2008-11-12 08:44:37 +00:00
Jurko Gospodnetić
420adc1464 Added a regression test for and fixed a bug causing Boost Build's action timing rule not to work correctly if triggered on targets containing spaces in their name.
[SVN r48650]
2008-09-07 08:45:39 +00:00
Jurko Gospodnetić
b4c3eaeea8 Added documentation comments for the action timing 'time' rule in the Boost Build tools/testing.jam module. Added a test for this rule. Corrected a bug with this rule not storing user time in its output file.
[SVN r48648]
2008-09-07 08:38:15 +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ć
8cdc1cb2d9 Minor stylistic changes throughout several Boost Build modules. Added several todo comments.
[SVN r48644]
2008-09-07 06:10:32 +00:00
Jurko Gospodnetić
7e7de9192d Minor stylistic changes made to Boost Build's tools/testing.jam module.
[SVN r48346]
2008-08-24 11:08:51 +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
Jurko Gospodnetić
4da9b90afb Minor stylistic comment change in the Boost Build tools/testing.jam module.
[SVN r47825]
2008-07-26 00:16:07 +00:00
Rene Rivera
7afd8cb01e Work around for specifying test names with periods in them which creates "duplicate" target names.
[SVN r45117]
2008-05-04 19:46:59 +00:00
Rene Rivera
9dc48843f8 Add the test target name to the bjam XML log output to make it easier to match tests to jam targets.
[SVN r44790]
2008-04-26 22:21:50 +00:00
Jurko Gospodnetić
dafd4d0cc7 Minor stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, etc.
[SVN r42494]
2008-01-05 20:02:24 +00:00
Jurko Gospodnetić
8c1a1aea71 Corrected an invalid command-line option name reference.
[SVN r42482]
2008-01-05 16:57:17 +00:00
Rene Rivera
a899a16b47 Fix time related callbacks to new arguments.
[SVN r42247]
2007-12-22 21:32:17 +00:00
Vladimir Prus
e47c52e1fa Add <testing.arg> functionality to unit-test rule.
Patch from Mark Desnoyer.


[SVN r41542]
2007-12-01 19:07:22 +00:00
Rene Rivera
020239be96 Add in Dave's comments, and expand information in XML output to include action names, sources, properties, bjam info, and platform info. This required one minor change to actions to keep track of the action object generating the targets.
[SVN r41174]
2007-11-17 20:14:24 +00:00
Rene Rivera
823d54698b Add "--out-xml=xyz.xml" option that dumps the output of all actions, and the test.jam information, to the given file. Changes are mostly from Dave.
[SVN r41167]
2007-11-17 04:11:49 +00:00
Rene Rivera
14614586ad Merge changes from Version_1_34_1 back to trunk.
[SVN r38792]
2007-08-20 16:52:55 +00:00
Vladimir Prus
8e07468164 Fix run-fail tests
[SVN r36769]
2007-01-23 20:50:55 +00:00
Dave Abrahams
44fe76ff09 Minor fixes for python on Windows.
Handle spaces in pathnames in testing.jam


[SVN r36713]
2007-01-12 22:21:04 +00:00
Vladimir Prus
a1039413cc Allow multiple sources for compile/compile-fail.
[SVN r36642]
2007-01-07 18:43:13 +00:00
Vladimir Prus
34d70b1e67 Don't accept multiple sources for 'compile' tests,
and it's broken anyway.
If we cannot determine the library name, return path,
to make the test rules minimally useful outside Boost.


[SVN r36622]
2007-01-06 18:02:22 +00:00
Vladimir Prus
c98a5494f8 Don't remove python scripts for Python tests.
[SVN r36073]
2006-11-18 08:56:43 +00:00
Vladimir Prus
a46f365ed6 Fix typo that causes all run tests to be always relinked and rerun.
Thanks to Juergen Hunold for the bug report.


[SVN r36064]
2006-11-17 06:26:12 +00:00
Vladimir Prus
f4921e09ed Implement automatic removal of test executables
[SVN r36048]
2006-11-15 19:05:45 +00:00
Rene Rivera
3b73c71ee5 Add/update copyrights+license (with help of a shell script).
[SVN r35851]
2006-11-05 07:13:39 +00:00
Vladimir Prus
0dab97ab91 Improve the hanling of "inline" targets, like:
alias foo : [ run a.cpp ] ;

and

	exe main : main.cpp [ lib helpers : helpers.cpp ] ;

Now inline targets are marked explicit, so that they are not
build unless requested, and for the alias target, the names
of inline targets are not qualified by the name of top-level target.

	build/
	* alias.jam (alias): Pass 'no-renaming' to
	target.main-target-sources.
	* target.jam (main-target-sources): New parameter
	'no-renaming'. Make inline target explicit.
	* builtin.jam (lib): Declare 'result' variable,
	to avoid implicit declaration of a global one.

	tools/
	* testing.jam (test-suite): Make synonymous with 'alias'.

	test/
	* inline.py: Adjust to the fact that alias no longer
	changes names of inline targets. Check that inline
	targets are explicit.


[SVN r35607]
2006-10-14 10:28:03 +00:00
Vladimir Prus
02daf41f6a Implement the 'link' testing rule.
[SVN r32482]
2006-01-31 15:43:59 +00:00
Vladimir Prus
88ee3b7e3f Implemented the 'link-fail' testing rule.
[SVN r32348]
2006-01-18 12:13:45 +00:00
Vladimir Prus
3b52c3f050 Fix --dump-tests.
[SVN r32334]
2006-01-16 09:52:02 +00:00
Dave Abrahams
7686f12ab4 Make sure the Borland Bin directory gets into the PATH when executables built with Borland are run.
[SVN r29522]
2005-06-11 06:47:19 +00:00
Vladimir Prus
7e9def15d1 Handle more than one testing file in the 'run' rule. Not 100% final
solution, but works for the single case in Boost where it matters.


[SVN r28371]
2005-04-21 08:27:02 +00:00
Vladimir Prus
0fd1e96461 Output library name for --dump-tests.
[SVN r28099]
2005-04-11 10:10:37 +00:00
Dave Abrahams
9aed3db356 test/regression.py
tools/testing.jam

  Support rules for measuring timing of build steps.

build/generators.jam

  Generators with empty source lists can now consume any target type.


[SVN r27335]
2005-02-12 20:24:07 +00:00
Dave Abrahams
b88077a679 Fix the way paths are adjusted for Cygwin
[SVN r27097]
2005-02-04 20:17:49 +00:00
Dave Abrahams
f9fe1f7bb7 Fix a typo
[SVN r27091]
2005-02-04 16:20:33 +00:00
Vladimir Prus
86186c5c82 Fix dynamic library paths setup on cygwin.
[SVN r26842]
2005-01-25 09:11:55 +00:00
Vladimir Prus
6155a88116 More type declaration cleanup.
* build/type.jam (register): Remove the 'main' parameter.
* other files: Don't pass the 'main' parameter.


[SVN r26449]
2004-12-06 13:59:51 +00:00
Vladimir Prus
0063e9878a Revert the previous behaviour of unit-test: it does not store output into
a file but shows it on the screen. However, the proper setting of run
paths is not done for unit-test too.


[SVN r25035]
2004-09-13 09:32:37 +00:00
Vladimir Prus
b55e4615bd Correct copy-paste error. Patch from Juergen Hunold.
[SVN r23500]
2004-07-13 15:27:11 +00:00
Vladimir Prus
32d38a05c0 Fix typo.
[SVN r23135]
2004-06-21 09:14:40 +00:00
Vladimir Prus
aea2f1aa58 Minor typo: really enable verbose output when command fails.
[SVN r23105]
2004-06-16 06:25:28 +00:00
Vladimir Prus
6e8c4aa407 Correct the verbose-test logic.
[SVN r23083]
2004-06-11 09:25:19 +00:00
Vladimir Prus
645495a945 Update testing jam to the same logic for running exes as V1 uses.
[SVN r23066]
2004-06-09 13:40:25 +00:00
Vladimir Prus
3831562205 * tools/testing.jam (dump-test): Correctly compute path to the source
from project root.


[SVN r23018]
2004-06-03 08:47:14 +00:00
Vladimir Prus
d4e260045f Refactorings.
The targets (both abstract and virtual) used to refer to project there belong
to using the name of Jamfile module corresponding to the project. That was a
bit messy, and whatevet it was necessary to get any project attribute, one
had to call 'project.attribute', which was messy too.

Now, projects are identified by instance of project-target class, and
attributes are obtained via 'get' method in that class.


[SVN r23001]
2004-06-02 14:26:15 +00:00
Vladimir Prus
15f7e2a4df Implement 'unit-test' in terms of more powerfull 'run' rule. Understand
the 'testing.launcher' property for 'run' rule.


[SVN r22968]
2004-05-28 12:28:10 +00:00