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

77 Commits

Author SHA1 Message Date
Vladimir Prus
0e7be98dea Cleanups.
* new/targets.jam: (main-target.alternatives): Renamed from
      'main-target.variants'. Comment improvements.


[SVN r14342]
2002-07-08 10:38:54 +00:00
Vladimir Prus
e76db483d1 Using targets from other projects implemented.
* new/project.jam (lookup): Bugfixes. (find-target): Attempt to load
        project specified by project id.
        Project module rules:
            project: Allow empty id.
            use-project: New rule.
    * new/targets.jam: (basic-target.generate-source): Correct a bug in
        separating target id from extra properties.


[SVN r14341]
2002-07-08 10:26:57 +00:00
Vladimir Prus
5c7e8f77a6 Restore project_test2.py to life again.
[SVN r14337]
2002-07-08 09:30:19 +00:00
Dave Abrahams
78ff6489c6 incorporate defaults into build-request.expand
[SVN r14311]
2002-07-05 16:17:12 +00:00
Vladimir Prus
4e4254f5cb Apply feature defaults when building.
* new/build-request.jam (expand-with-defaults): New rule
    * new/build-system.jam, new/targets.jam: Use 'expand-with-defaults' instead
        of 'expand'.
    * new/builtin.jam: Define new feature 'threading'.
    * test/project_test3.py: Test that feature defaults are applied.


[SVN r14307]
2002-07-05 15:09:28 +00:00
Vladimir Prus
b3595b0e70 Unbreak project_test2.
[SVN r14284]
2002-07-02 15:07:43 +00:00
Vladimir Prus
e21fb49bcf Implemented getting build request from the command line.
* new/build-request.jam (from-command-line): New rule.
    * new/build-system.jam: Get build request from the command line,
        expand it and pass to 'generate' rules.
    * new/targets.jam: Use targets's properties when computing path.
    * test/project_test3.py: Test the above changes.


[SVN r14283]
2002-07-02 15:02:04 +00:00
Vladimir Prus
efd007c790 Project root loading tweaks.
* new/project-root.jam (load): Really produce an error message when
        project root file is not found.
    * test/project_test3.py: Test for the error reporting.


[SVN r14280]
2002-07-02 14:14:45 +00:00
Vladimir Prus
41896394ad Fix typo in the previous commit.
[SVN r14276]
2002-07-02 11:41:17 +00:00
Vladimir Prus
bde3a45b09 Made project_test3 work on windows.
[SVN r14275]
2002-07-02 11:37:54 +00:00
Vladimir Prus
023c50202f Test system improvements w.r.t. file content matching.
* test/BoostBuild.py (Tester.read_and_strip, Tester.expect_content):
        New methods.
    * test/test_system.html: Document the above methods.


[SVN r14274]
2002-07-02 10:34:43 +00:00
Dave Abrahams
d22e72693c improved property.as-path
[SVN r14269]
2002-07-01 20:05:37 +00:00
Vladimir Prus
50137dcc10 Beginning of the 'make' rule.
* new/targets.jam: Check for duplicate 'basic-target::generate()' calls.
        Use better logic to tell is source is another main target or file.
        (project-target::has-main-target): New rule.
    * new/project.jam (lookup): Fixes. (find-target): Implemented.
    * new/make.jam: New file, defines the 'make' rule and associated target
        class.
    * new/build-system.jam: Import 'make'. Generate virtual targets and
        actualize them.
    * new/utility.jam: Added "MkDir" rule and actions.
    * test/project_test3.py: New test.


[SVN r14249]
2002-06-27 14:00:30 +00:00
Vladimir Prus
07b79b453f Fix a bug in the previous commit.
[SVN r14248]
2002-06-27 13:41:35 +00:00
Vladimir Prus
f7691b8ccb Futher cleanups. Tests now pass.
* new/targets.jam: Rename 'abstract-target::local-name' to 'name'. Rename
        'abstract-target::name()' to 'abstract-target::full-name()'.
    * test/project-test2/project-test2.jam: Induces change.


[SVN r14247]
2002-06-27 11:00:05 +00:00
Vladimir Prus
6c15e489bb Don't wait after each run of bjam. Instead, wait for time change before
making any change to filesystem by the tester classes.


[SVN r14238]
2002-06-25 14:55:27 +00:00
Dave Abrahams
25fb2add6c Merged from RC_1_28_0
[SVN r13944]
2002-05-16 00:56:42 +00:00
Rene Rivera
fd3c87f199 Added container.
[SVN r13828]
2002-05-12 16:57:31 +00:00
Dave Abrahams
42ef876174 fix tabs and line-endings
[SVN r13774]
2002-05-09 14:24:57 +00:00
Dave Abrahams
a3364b7b11 Restored to health on non-NT systems
[SVN r13742]
2002-05-08 11:39:23 +00:00
Vladimir Prus
7e8437b177 * test/project_test1.py: Remove trailing whitespace, so that the test
work again, after 'print' fixes.


[SVN r13712]
2002-05-07 07:17:20 +00:00
Dave Abrahams
ca39cf30da Clear environment before testing
[SVN r13696]
2002-05-06 21:09:03 +00:00
Dave Abrahams
3605d8dc91 bug fix
[SVN r13695]
2002-05-06 20:59:53 +00:00
Dave Abrahams
2bf1779f95 Bug fixes
[SVN r13693]
2002-05-06 18:54:24 +00:00
Dave Abrahams
6a5ea2f5e3 initial commit
[SVN r13691]
2002-05-06 18:29:50 +00:00
Dave Abrahams
6da1c928af initial commit
[SVN r13690]
2002-05-06 18:22:28 +00:00
Dave Abrahams
b4e91a9649 new initialization code + tests
[SVN r13689]
2002-05-06 18:20:47 +00:00
Dave Abrahams
bd5f6d5455 new initialization code + tests
[SVN r13688]
2002-05-06 18:14:59 +00:00
Dave Abrahams
2b392b9c3f new initialization code + tests
[SVN r13687]
2002-05-06 17:51:21 +00:00
Vladimir Prus
13dc7be0d6 Forgotten file.
[SVN r13682]
2002-05-06 09:14:28 +00:00
Vladimir Prus
526a6b60ec Work on project/targets modules.
* new/targets.jam: Considerably changed.
    * new/project.jam: Projects now return project targets via 'target' rule.
        Requirements are inherited. Renames 'subinclude(s)' to 'subproject(s)'.
        (find-jamfile): Rewritten, which fixes some bugs.
    * new/project-root/jam: (print): Sort projects first by they id, which
        makes order more predictable.
    * test/project-test1.py: Also run test from the 'project-test1' dir.
    * test/project-test2.py: New test.


[SVN r13681]
2002-05-06 09:11:30 +00:00
Vladimir Prus
180d72a999 Fixes.
* test/BoostBuild.py (Test.run_build_system): Now really allow any exit
        status if the 'status' paremeter is 'None', per documentation.


[SVN r13680]
2002-05-06 08:48:08 +00:00
Vladimir Prus
05219612c8 Test system fixes.
* test/BoostBuild.py (Tester.__init__): New paremeter 'arguments'. Add
        BOOST_BUILD_PATH to the command line.
        (Tester.set_tree): Make files writable after copying.
        (Tester.copy): New method
        (Test.read): Open file in read mode.
    * test/test_system.html: Documented the above changes. Small cleanups.
    * new/test.jam: Remove bootstrap code.
    * new/readme.txt: Changed command line for running unit tests.


[SVN r13678]
2002-05-06 07:22:46 +00:00
Rene Rivera
4710ebfa4d Updated test to use generic print rules instead of dump rule. And therefore removed dump rule.
[SVN r13667]
2002-05-04 15:44:38 +00:00
Vladimir Prus
81c11a458f Some property functions.
* property.jam (refine-properties): New rule.
    * feature.jam: New feature attribute 'link-incompatible'.
    * test.jam: Test the property module.


[SVN r13640]
2002-05-03 14:15:18 +00:00
Dave Abrahams
ee065366a2 initial checkin
[SVN r13637]
2002-05-03 12:35:41 +00:00
Vladimir Prus
cfbf941144 Enhancements for project.lookup.
* new/project.jam (lookup): Require second argument, which specifies
        directory, relative to which paths in id should be interpreted.
    * test/project-test1.jam: Test for the above change.


[SVN r13636]
2002-05-03 10:10:14 +00:00
Vladimir Prus
99f579c5c9 Updated project-test1.py.
[SVN r13635]
2002-05-03 09:46:01 +00:00
Dave Abrahams
202045e0c2 Eliminated bogus ^M characters
[SVN r13626]
2002-05-02 19:01:29 +00:00
Dave Abrahams
0241b6de73 Workaround for crazy assertion in Jambase
[SVN r13625]
2002-05-02 19:01:07 +00:00
Dave Abrahams
64ae13d9a8 Show *full* build command on failure
[SVN r13624]
2002-05-02 19:00:38 +00:00
Dave Abrahams
c9a4bf48b3 Updated test to take advantage of --build-system=... option
[SVN r13620]
2002-05-02 16:44:13 +00:00
Dave Abrahams
30ef00ea04 Initial checkin, includes test instructions
[SVN r13619]
2002-05-02 16:41:36 +00:00
Dave Abrahams
6dc0ba2240 Added --debug --quiet to args used when running tests
[SVN r13618]
2002-05-02 16:39:04 +00:00
Vladimir Prus
2b7b4614eb Test system improvements.
* BoostBuild.py
        (Tester.expect_nothing): New method.
        (Tester.run_build_system): Added 'subdir' argument. Take a nap
        after running bjam, so that further touches to files are detected.
    * test_system.html
        Document the above changes. Document earlier changes to List{}.
        Fixed typos.


[SVN r13522]
2002-04-18 08:35:27 +00:00
Vladimir Prus
3ff33503ce Change of tests to accomodate new load behaviour and also fix previous
incorrect commit.


[SVN r13518]
2002-04-17 14:30:13 +00:00
Vladimir Prus
4e0da61c59 Added description of milestone 1 and some tests for it.
[SVN r13517]
2002-04-17 14:10:54 +00:00
Dave Abrahams
31eb4b7e09 Use new List niceties
[SVN r13497]
2002-04-15 18:05:58 +00:00
Dave Abrahams
2cce65e400 Added some niceties for List class
[SVN r13496]
2002-04-15 18:04:33 +00:00
Vladimir Prus
b03fa41185 Plugged the project test in the testing framework.
[SVN r13458]
2002-04-12 08:07:39 +00:00