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

27 Commits

Author SHA1 Message Date
Vladimir Prus
d5f4e78bb2 * 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
3f783b7b2e 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
3c4b3dfe56 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
Vladimir Prus
240105ee1b Add 'xdll-path' properties to run-time DLL search path for tests. Previously,
we added only dll-path properties and the logic that created dll-path
properties from xdll-path properties did not work right on Windows.

It makes more sense anyway to always add all paths for dendency libraries.


[SVN r22932]
2004-05-26 10:57:22 +00:00
Vladimir Prus
12d08a7b73 Bugfix: the main target rules did not work unless called from Jamfile.
The used 'CALLER_MODULE' to determine the project where the main target
is to be declared, which did not work if the rule is called from another
module.

Thanks to Zbynek Winkler for the bug report.

* build/project.jam (current): New rule
* test/wrapper.py: New test
* other files: Use 'project.current'.


[SVN r22569]
2004-03-31 06:53:56 +00:00
Vladimir Prus
ff886e38a9 Move the 'location-prefix' feature declaration to builtin.jam.
[SVN r22129]
2004-02-02 07:33:02 +00:00
Vladimir Prus
4ca7977418 Use common.file-creation-command for creating a file signalling
that unit test has executed without errors. Using 'touch' is not
portable to Windows, in general.


[SVN r21837]
2004-01-20 08:16:51 +00:00
Vladimir Prus
583bf9fe87 Make 'regression.py' work with msvc.
* tools/builtin.jam
  (exe-target-class.compute-usage-requirements): Pass <dll-path> properties
  as usage requirements.

* tools/testing.jam
  (capture-output): Handle <dll-path> properties.

* tools/common.jam
  (path-variable-setting-command): New rule.


[SVN r20522]
2003-10-28 12:16:10 +00:00
Vladimir Prus
ada627ba32 Make the 'regression' test case work on windows with gcc.
[SVN r20299]
2003-10-08 05:49:57 +00:00
Vladimir Prus
33ad5e4d2b Support arguments to 'run'-ed command an input file.
[SVN r20274]
2003-10-07 10:46:34 +00:00
Vladimir Prus
6b6b42e787 First version of regression testing support in V2.
* new/testing.jam: Loots of changes.
* new/virtual-target.jam:
  (action.path): Handle <location-prefix> property.


[SVN r20188]
2003-09-26 07:03:55 +00:00
Vladimir Prus
286825f9d5 Rename 'xclass' to 'class'.
[SVN r19458]
2003-08-05 05:25:33 +00:00
Vladimir Prus
a9cb673c30 Rename 'xnew' to just 'new'.
[SVN r19434]
2003-08-04 11:12:30 +00:00
Vladimir Prus
7fceeb4bc7 Drop all style classes support.
[SVN r19433]
2003-08-04 10:53:34 +00:00
Vladimir Prus
4ec3f81593 New builtin SORT.
[SVN r19430]
2003-08-04 09:27:47 +00:00
Vladimir Prus
df07d2f0d0 Convert remaining classes.
[SVN r19429]
2003-08-04 09:25:34 +00:00
Vladimir Prus
bd38c04d0e Move abstract-target hierarchy to new classes.
[SVN r19428]
2003-08-04 09:22:29 +00:00
Vladimir Prus
c661419db3 Make action hierarchy use new style classes.
[SVN r19426]
2003-08-04 09:15:36 +00:00
Vladimir Prus
26da990bc6 Make virtual-target hierarchy use new style classes.
[SVN r19425]
2003-08-04 09:13:22 +00:00
Vladimir Prus
81b7961c6c Sync with the rest of code.
[SVN r17481]
2003-02-17 09:43:04 +00:00
Vladimir Prus
f369885928 Added testing.launcher feature. For example, now unit tests can be
run under valgrind.


[SVN r17063]
2003-01-28 15:12:31 +00:00
Vladimir Prus
3a37820a0a Clean ups.
* new/builtin.jam: Made 'toolset' and 'variant'
    features symmentic. Document and fix the 'variant' rule.

* new/virtual-target.jam: Refactoring attempts. Split
   virtual-target into virtual-target and derived from it
   file-target. Eliminate some duplication in setting target
   locations.


[SVN r16437]
2002-11-27 08:37:07 +00:00
Vladimir Prus
5c18848ccd Cleanup main target alternative creationg.
* new/targets.jam
    (abstract-target.name): New method.
    (abstract-target.project): New method.
    (main-target-alternative): Simplify. Only register
       main target alternative. Don't to fancy processing
       of arguments.
    (main-target-requirements): New rule.
    (main-target-use-requirements): New rule.
    (main-target-default-build): New rule.


[SVN r16249]
2002-11-15 07:20:23 +00:00
Vladimir Prus
23f0acca9e Make some refactoring.
* new/virtual-target.jam (virtual-target): Eliminate 'subvariant'
   attribute. Use properties of action to for the same
   purpose.

* new/testing.jam: Induced changes.
* new/make.jam: Induced changes.
* new/generators.jam: Induced changes.


[SVN r16128]
2002-11-06 08:13:40 +00:00
Vladimir Prus
93ba07f369 Implement dependendency features.
[SVN r15850]
2002-10-10 11:58:41 +00:00
Vladimir Prus
ef5eff03d0 Bugfixes.
* new/virtual-targets.jam (virtual-target.root): New rule
        (traverse): Don't traverse past roots.
    * new/targets.jam (main-target): Call 'virtual-target.root' as
        appropriate.


[SVN r15773]
2002-10-07 14:34:43 +00:00
Vladimir Prus
12518b72c2 Sundry improvements:
Bison and lex support.
    unit-test rule
    --version option
    default build really works

    * new/build-system.jam: Bugfixes. Added "--version" option.

    * new/project.jam: If default-build is not specifies, don't stick "debug".

    * new/property.jam (evaluate-conditionals): New rule.

    * new/targets.jam (basic-target.generate): Evalute conditional properties.

    * test/BoostBuild.py (Tester.maybe_do_diff): New method.
        (Tester.run_build_system): Call the above method when
        appropriate.


[SVN r15771]
2002-10-07 13:34:14 +00:00