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

57 Commits

Author SHA1 Message Date
Vladimir Prus
d83a0f6b10 Bugfix.
* new/BoostBuild.py
  (Tester.touch): Fix so that it can accept List instances.


[SVN r20279]
2003-10-07 12:50:17 +00:00
Vladimir Prus
1c13c89653 Python 2.3 fixes. Use __rmul__ for fixed mode operations on List, not
__coerce__, since it works in a wrong way and might be removed in future.


[SVN r19806]
2003-08-27 13:57:47 +00:00
Vladimir Prus
c51bffadef Add --preserve option to test system.
[SVN r18915]
2003-07-02 11:46:19 +00:00
Dave Abrahams
d9d8785236 Enabled sorting of BBv2 modules into subdirectories
build-system.jam - moved from tools/build/new to tools/build

boost-build.jam - moved from tools/build/new to tools/build/kernel
bootstrap.jam
errors.jam
modules.jam

test/BoostBuild.py   - adjusted for the above modification
test/boost-build.jam

project-root.jam - renamed to "project-roots.jam" to avoid confusion
                   and conflict with the user's project-root.jam file

project.jam                           - adjusted for the above renaming
test/project-test1/project-test1.jam

type.jam - broke a circular module dependency


[SVN r18575]
2003-05-28 01:33:38 +00:00
Vladimir Prus
02ff2c7385 Ignore borland debug symbols.
[SVN r18448]
2003-05-19 12:39:06 +00:00
Dave Abrahams
69e27f57bf * expand.c - Implemented :W modifier for Cygwin->Windows path
translation.  Cleaned up indentation and idiomatic use of string.

* index.html - documented recent features including VARNAMES and
  DELETE_MODULE

* borland.jam, msvc.jam - use the new :W modifier to simplify
  code (but only somewhat)

* BoostBuild.py - ignore MSVC .ilk files under Cygwin and NT


[SVN r18434]
2003-05-19 06:30:44 +00:00
Dave Abrahams
8ec0efd118 * Prefer to test with a debug version of bjam if one is available
* Always dump stdio/stderr when there's a failure


[SVN r18408]
2003-05-15 22:27:25 +00:00
Dave Abrahams
49e67e86b7 Patches for testing under Cygwin
[SVN r18283]
2003-04-21 00:35:36 +00:00
Vladimir Prus
1beb700397 Tweaks.
* test/BoostBuild.py
    (Tester.expand_toolset): New method.


[SVN r18180]
2003-04-04 07:52:09 +00:00
Vladimir Prus
7a0cd86cfc Patch from Andre Hentz.
Change the test system to use "exec*", not "system". This is needed to
avoid espacing shell metacharacters.


[SVN r18156]
2003-04-02 12:43:05 +00:00
Vladimir Prus
224bc8cbae Bugfix: pass toolset after extra_arguments, so that
run_build_system("-n") generates
   -n gcc
command line, intead of
   gcc -n
where '-n' is ignored.


[SVN r18120]
2003-03-28 09:12:51 +00:00
Dave Abrahams
028a48ecdb improve error reports
[SVN r17741]
2003-03-06 14:57:26 +00:00
Dave Abrahams
67102d1ef5 Fixes for NT
[SVN r17704]
2003-03-03 16:12:38 +00:00
Vladimir Prus
5aeb1de191 Cleanups. Default build improvements related to BB10.
* new/targets.jam
    (main-target.default-build): New field.
    (main-target.add-alternative): Don't allow default-build for
       second and subsequence alternatives. Record default build
       from the first one.
    (main-target.generate): Expand build request.
    (main-target.generate-really): New rule, extracted from 'generate'.
    (basic-target.default-build): New rule.
    (basic-target.generate): Don't expand default build.

* test/BoostBuild.py
  Allow to suppress passing toolset when calling run_build_system.
  Some Python 2.1 compatibility fixes.

* test/alternatives.py
  More tests.

* test/default_build.py
  More tests.


[SVN r17683]
2003-02-28 06:36:39 +00:00
Vladimir Prus
447bfc4c1e Fix some conditional logic.
[SVN r17640]
2003-02-25 14:09:45 +00:00
Dave Abrahams
d65774fd04 Better handling of pass_toolset
[SVN r17604]
2003-02-23 17:04:57 +00:00
Dave Abrahams
cd9c137cba minor fixes
[SVN r17603]
2003-02-23 16:56:21 +00:00
Vladimir Prus
379016018b Bugfix: make Tester.ignore* methods really work.
[SVN r17573]
2003-02-21 09:22:35 +00:00
Vladimir Prus
1ffb2b163f Fix syntax of variable setting on jam command line for windows.
[SVN r17571]
2003-02-21 08:23:07 +00:00
Vladimir Prus
a45bf274c6 More testing improvements.
* new/build-system.jam: Try to load 'test-config.jam'. If successfull,
    don't load site-config.jam/user-config.jam.

* test/BoostBuild.py: Add directory where test is invoked to BOOST_BUILD_PATH,
    so that test-config.jam can be dropped to "test" dir.


[SVN r17558]
2003-02-20 15:58:02 +00:00
Vladimir Prus
72a0eb1444 Towards really cross-toolset testing system.
- Allow to specify toolset name on the command line
- Expand $toolset in paths
- Pass toolset name to bjam invocations.


[SVN r17555]
2003-02-20 13:08:51 +00:00
Vladimir Prus
a87218a905 Bugfix: Whoever inveted "text mode" for files was very wrong, and I was
wrong for ignoring this. This changes fixes searched_lib.py on Windows.


[SVN r17534]
2003-02-19 15:49:53 +00:00
Vladimir Prus
0a9e4270b2 Automatically adjust suffixes when running tests.
[SVN r17505]
2003-02-18 08:32:57 +00:00
Vladimir Prus
068eca0667 Bugfix: recreate working dir only if it does not exists.
* test/BoostBuild.py: (Tester.rm): The above change.


[SVN r17479]
2003-02-17 09:03:04 +00:00
Vladimir Prus
6944a6cb23 Minor bugfix.
[SVN r17298]
2003-02-10 07:09:14 +00:00
Vladimir Prus
8193444323 Supress some output, when unneeded.
[SVN r17005]
2003-01-23 11:33:53 +00:00
Vladimir Prus
e0f37d26f5 Introduce "--ignore-config" command line option.
[SVN r17004]
2003-01-23 11:22:47 +00:00
Vladimir Prus
9514416386 Bugfix.
[SVN r16831]
2003-01-09 15:22:06 +00:00
Dave Abrahams
4b0384ff03 Fixes for Windows/GCC-3.2
[SVN r16815]
2003-01-09 01:29:30 +00:00
Dave Abrahams
226f2da850 Fixed up difference reporting again!
[SVN r16805]
2003-01-08 20:41:29 +00:00
Dave Abrahams
cb62ffe96e Fixed up difference reporting
[SVN r16804]
2003-01-08 20:34:00 +00:00
Dave Abrahams
4d88b33c85 Add verbosity options
[SVN r16803]
2003-01-08 20:11:15 +00:00
Dave Abrahams
86635bd925 Add verbosity command-line option to dump build actions.
[SVN r16800]
2003-01-08 19:42:09 +00:00
Vladimir Prus
8e665325a7 Making more tests work on windows.
* new/builtin.jam: The lib suffix in not "obj", even on windows.

* test/BoostBuild.py: (lib_suffix): New variable.
* test/generators_test.py: Use lib_suffix.


[SVN r16793]
2003-01-08 13:05:30 +00:00
Dave Abrahams
e77ff30fe0 undo ls hack
[SVN r16760]
2003-01-05 18:40:33 +00:00
Dave Abrahams
92d224ecf1 Compute exe_suffix for Cygwin
Dump recursive directory on certain failures.
Allow List addition


[SVN r16758]
2003-01-05 18:25:58 +00:00
Vladimir Prus
61e7810ed2 Another bugfix for dependency properties in use requirements.
* new/targets.jam
    (generate-dependencies): New argument 'extra-properties.
        Add it to properties used for building dependencies.
    (basic-target.generate): Use the above change.


[SVN r16611]
2002-12-15 10:14:11 +00:00
Dave Abrahams
30728fd3cc Tests for v1 testing
[SVN r16345]
2002-11-20 15:51:53 +00:00
Dave Abrahams
d45cc334b1 Cygwin compatibility
[SVN r16107]
2002-11-04 21:56:41 +00:00
Vladimir Prus
4115276dec 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
Vladimir Prus
4b5d5cc6e4 Allow to specify target ids in command line.
* project.jam (lookup-with-load): New rule.
      (find-target): Try interperting target id as project first.

    * build-request.jam (from-command-line): Don't grab
      unconditionally elements which have slashes -- they may be target
      ids.

    * build-system.jam: Allow target ids is command
      line. Accept --clean option.

    * BoostBuild.py (run_build_system): Call 'ignore_directoies' on diff.

    * tree.py (Trees_different.ignore_directoies): New method.


[SVN r15768]
2002-10-07 13:18:27 +00:00
Vladimir Prus
688f31f78c Implement path features.
* property.jam (translate-paths): New rule.

    * targets.jam (main-target-alternative): Translate path
      properties.

    * project.jam (project-attributes.set): Likewise.

    * builtin.jam (variant): Fixes.


[SVN r15707]
2002-10-04 13:48:38 +00:00
Vladimir Prus
0ce8654d3a Tweak test system.
[SVN r15611]
2002-10-01 14:55:52 +00:00
Vladimir Prus
0239d83337 Made names of preserved directories printed by tests.
* test/TestCmd.py (TestCmd.cleanup): Print the names of preserved
        directories. Reset self._dirlist even if directories are preserved.
    * test/BoostBuild.py (Tester.cleanup): New method.


[SVN r14489]
2002-07-17 09:16:37 +00:00
Vladimir Prus
a607cd9ece 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
Vladimir Prus
955dad43a6 Fix a bug in the previous commit.
[SVN r14248]
2002-06-27 13:41:35 +00:00
Vladimir Prus
b82cff2b59 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
424d03440f Bug fixes
[SVN r13693]
2002-05-06 18:54:24 +00:00
Dave Abrahams
619aa3d30b new initialization code + tests
[SVN r13687]
2002-05-06 17:51:21 +00:00
Vladimir Prus
3ad1c845ca 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