Vladimir Prus
7e63070ad7
Make the Tester.copy method open files in binary mode.
...
This fixes the searched_lib.py failure on Windows.
Patch from Jurko Gospodnetic.
[SVN r42301]
2007-12-25 09:43:44 +00:00
Vladimir Prus
7cb84d0739
Fix typos.
...
Patch from Jurko Gospodnetic
[SVN r42296]
2007-12-25 09:25:25 +00:00
Vladimir Prus
117366c9d7
Attemp to fix searched_lib on windows
...
[SVN r39831]
2007-10-09 06:37:00 +00:00
Vladimir Prus
c936ec0623
Windows fix
...
[SVN r39817]
2007-10-08 21:10:41 +00:00
Vladimir Prus
47883c1710
* BoostBuild.py (wait_for_time_change): Wait
...
for more serious time change, in order to
fix sporadic dependency_test failures.
[SVN r39195]
2007-09-11 19:17:49 +00:00
Vladimir Prus
bcc1770d08
Record failure reason when we fail to open a file.
...
[SVN r39169]
2007-09-08 17:10:26 +00:00
Vladimir Prus
c349da3998
Fix the rebuilds test on linux.
...
* BoostBuild.py (wait_for_time_change): Use floor,
to avoid waiting 0.5 seconds.
* rebuilds.py: Wait for time change as necessary.
[SVN r39168]
2007-09-08 16:24:50 +00:00
Vladimir Prus
44298f02c7
Implement --ignore-toolset-requirements and set in
...
during testing.
[SVN r39164]
2007-09-07 23:59:54 +00:00
Vladimir Prus
216e84fba9
Make it work
...
[SVN r39163]
2007-09-07 23:59:10 +00:00
Vladimir Prus
109fba60a0
Undo #38702 , which fixes alternative.py on linux. Real fix for win coming soon.
...
[SVN r39162]
2007-09-07 23:51:07 +00:00
Vladimir Prus
28f5cfdd14
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
Rene Rivera
eeede1435d
Make rm try the glob_file in addition to regular glob. Clears alternatives and project_glob failures on windows.
...
[SVN r38973]
2007-08-26 19:24:13 +00:00
Rene Rivera
1f9e521532
Read expected files with universal EOL translation enabled to account for comparing with newline only Python strings.
...
[SVN r38964]
2007-08-26 16:14:44 +00:00
Rene Rivera
1d35c7d9fc
On Windows static libs have the lib prefix, but DLLs don't.
...
[SVN r38918]
2007-08-25 04:08:28 +00:00
Rene Rivera
1c4d6dd97a
More changes to account for differing variant subdirs between toolsets, and of toolset expansion.
...
[SVN r38710]
2007-08-16 04:56:08 +00:00
Rene Rivera
29f50e51d2
Do some normalizing of paths to remove some of the variant feature subdirs that may be different based on platform and toolset. This fixes some tests that pass on GCC/Linux and not on MSVC/Windows.
...
[SVN r38702]
2007-08-15 20:15:36 +00:00
Rene Rivera
3c971d5326
Change remove() to glob_remove() in expect_modification, even though this check is not used.
...
[SVN r38694]
2007-08-15 18:35:11 +00:00
Rene Rivera
69cfdb7a52
Trow ValueError exception from remove functions to match the set.remove functionality.
...
[SVN r38688]
2007-08-15 17:25:46 +00:00
Vladimir Prus
7836bf24e8
Stop BoostBuild.py from crashing on certain test failures.
...
[SVN r38593]
2007-08-11 05:15:54 +00:00
Rene Rivera
ca55bec6a8
Catch a few more Python errors while testing.
...
[SVN r38306]
2007-07-30 00:09:52 +00:00
Vladimir Prus
b465fea87f
Revive some more tests
...
[SVN r35968]
2006-11-10 07:40:42 +00:00
Vladimir Prus
aaed235d79
Fix thinko
...
[SVN r35919]
2006-11-08 08:42:55 +00:00
Vladimir Prus
316ecd82a1
Robustify Tester.expect_content
...
[SVN r35917]
2006-11-08 08:37:28 +00:00
Vladimir Prus
61b0d8581f
Unbreak notfile.py
...
[SVN r35916]
2006-11-08 08:36:02 +00:00
Rene Rivera
d3b9f49f78
Add "--default-bjam" option to force using bjam present in the system (ie the search path).
...
[SVN r35845]
2006-11-05 00:06:35 +00:00
Rene Rivera
177744f40d
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
1d1ab035c1
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
9fef1689f5
Create 'failed_test' dir only if test fails
...
[SVN r33812]
2006-04-25 14:54:32 +00:00
Vladimir Prus
e3c1b38ed5
Ignore msvc 8.0 manifests.
...
[SVN r33807]
2006-04-25 13:10:03 +00:00
Rene Rivera
13cfc022e9
Adjust Boost.Jam references to new root/tools/jam location.
...
[SVN r32873]
2006-02-12 23:18:46 +00:00
Markus Schöpflin
a05a4a09f8
Added Tru64 support.
...
[SVN r32809]
2006-02-10 16:05:26 +00:00
Vladimir Prus
3a7327a605
Automatically prepend "lib" prefix to LIB targets on Unix.
...
[SVN r29602]
2005-06-16 07:24:16 +00:00
Vladimir Prus
604408b82d
Support FreeBSD for Boost.Build self-tests.
...
Patch from Craig Rodrigues.
[SVN r28623]
2005-05-03 06:15:08 +00:00
Vladimir Prus
b43fe0e57a
Allow to specify directory where a test will be run.
...
Patch from Niklaus Giger.
[SVN r27975]
2005-04-05 11:21:52 +00:00
Vladimir Prus
d67b94f85a
Correctly compute bjam build dir on non-x86 Linux.
...
Patch from Niklaus Giger.
[SVN r26775]
2005-01-21 07:31:45 +00:00
Vladimir Prus
3e311937bb
Support AIX and IRIX.
...
[SVN r25301]
2004-09-21 13:36:36 +00:00
Vladimir Prus
0f8adb66cf
Use windows file extensions under cygwin.
...
[SVN r24988]
2004-09-09 12:23:00 +00:00
Vladimir Prus
74c4147419
Robustify Tester.expect_content: don't crash when the file does not
...
exist.
[SVN r24985]
2004-09-09 10:50:52 +00:00
Vladimir Prus
05eb6c1abc
Minor fixes.
...
[SVN r22930]
2004-05-26 10:52:11 +00:00
Vladimir Prus
f2b0152895
Darwin improvements.
...
Patch from Andre Hentz.
* v2/build/toolset.jam
(inherit-flags): Take an extra parameter describing properties that
should not be inherited.
* v2/build/type.jam
(register-suffixes): Removed local qualifier.
* v2/test/BoostBuild.py
(prepare_suffix_map): Add .dylib if OS is Darwin.
(Tester::_init_): path to bjam on Darwin.
* v2/test/prebuilt.py
make sure $toolset is expanded correctly.
* v2/test/prebuilt/project-root.jam
use $toolset instead of gcc.
* v2/test/prebuilt/ext/project-root.jam
use $toolset instead of gcc.
* v2/test/prebuilt/ext/Jamfile2.jam
handle extension .dylib.
* v2/test/prebuilt/ext/Jamfile2.jam
handle extension .dylib.
* v2/tools/darwin.jam
inline call to toolset.inherit.
filter <debug-symbols>off because -s is not accepted for dlls.
speficy that .dylib files are of type SHARED_LIB.
(actions link): pass -s for static linkage.
(actions link.dll): pass -L flag with path to libraries.
(actions archive): -c inhibits warning.
[SVN r22332]
2004-02-20 08:51:33 +00:00
Vladimir Prus
493c4746df
Added support for testing on solaris:
...
* test/BoostBuild.py:
(Tester): added a check for SunOS and one for Linux. The default now is
to raise an exception.
Patch from Andre Hentz.
[SVN r21663]
2004-01-13 09:24:16 +00:00
Vladimir Prus
4566ffe228
Allow BoostBuild.py to find bjam both in parent directory (for releases)
...
and in parent's parent directory (for CVS testing).
[SVN r20540]
2003-10-29 11:18:47 +00:00
Vladimir Prus
d8e944d839
Accomodate new directory layout.
...
[SVN r20503]
2003-10-27 07:14:21 +00:00
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