Jurko Gospodnetić
353ea4756e
Corrected the Boost Build core_nt_cmd_line.py test failure caused by empty actions now getting reported to stdout correctly. Updated the test to make sure all the whitespace action content gets printed out correctly.
...
[SVN r79106]
2012-06-26 11:03:29 +00:00
Jurko Gospodnetić
bca364c875
Cleaned up the Boost Build core_d12.py test a bit. Still failing with the current Boost Jam implementation.
...
[SVN r79100]
2012-06-26 10:25:00 +00:00
Jurko Gospodnetić
e17fa79213
Updated Boost Jam to execute commands directly on Windows when that is requested by setting the JAMSHELL variable to '%', the same as for Unix OSs, and not change the user's request under covers to running the command via the default shell if it is 8191 characters long or shorter. Renamed the related Boost Build core_nt_line_length.py test to core_nt_cmd_line.py and updated it with more detailed test cases.
...
[SVN r79097]
2012-06-25 23:01:59 +00:00
Jurko Gospodnetić
d55d846b27
Updated Boost Build's internal test system to not report an error as if it was not able to run the external diff tool when that tool returns 1 to indicate that the two files given to it are different.
...
[SVN r79037]
2012-06-23 23:16:01 +00:00
Jurko Gospodnetić
559765ff88
Minor stylistic change in the Boost Build test system.
...
[SVN r79036]
2012-06-23 23:12:21 +00:00
Jurko Gospodnetić
16016a7b7a
Minor stylistic changes in Boost Build tests.
...
[SVN r79035]
2012-06-23 23:07:29 +00:00
Jurko Gospodnetić
9f82cfe8c3
Cleaned up the Boost Build module_actions.py test. Now the test's source file no longer needs to contain lines with trailing spaces.
...
[SVN r79034]
2012-06-23 21:18:32 +00:00
Jurko Gospodnetić
838568f286
Minor Boost Build test system Python code cleanup - removed unnecessary trailing semicolons.
...
[SVN r79003]
2012-06-19 10:08:33 +00:00
Jurko Gospodnetić
283e2bf18e
Added support for explicitly failing Boost Build tests without displaying the changes caused by the last build command.
...
[SVN r79002]
2012-06-19 10:06:12 +00:00
Jurko Gospodnetić
bcbfaa30e9
Updated the Boost Build core_arguments.py test to test all of the supported 19 Boost Jam positional arguments instead of only 9.
...
[SVN r78984]
2012-06-18 12:59:42 +00:00
Jurko Gospodnetić
147252d9e1
Boost Build's core_arguments.py test now correctly tests whether or not specific arguments passed to a rule cause Boost Jam to exit with an error code.
...
[SVN r78981]
2012-06-18 11:53:56 +00:00
Jurko Gospodnetić
83b5bd6332
Cleaned up the Boost core_arguments.py test code to reduce duplication.
...
[SVN r78980]
2012-06-18 11:52:09 +00:00
Jurko Gospodnetić
304712946d
Removed redundant module import in Boost Build's core_arguments.py test.
...
[SVN r78977]
2012-06-18 11:19:32 +00:00
Jurko Gospodnetić
6020b81c8d
Corrected a slight error reporting defect in the Boost Build's unit-testing system.
...
[SVN r78974]
2012-06-17 14:44:41 +00:00
Jurko Gospodnetić
f7aeca291a
Added a missing source file for the generators_test.py Boost Build test that got missed in a previous commit (revision [78964]).
...
[SVN r78971]
2012-06-16 06:25:16 +00:00
Jurko Gospodnetić
6beaaefcb0
Updated the generators_test.py Boost Build test to explicitly check some conditions that were before only listed in test code comments but never explicitly tested.
...
[SVN r78970]
2012-06-16 02:45:09 +00:00
Jurko Gospodnetić
d90686df32
Made the Boost Build example_make.py test explicitly use its own Python interpreter instead of relying on the 'python' executable being available on the system path.
...
[SVN r78969]
2012-06-16 02:41:44 +00:00
Jurko Gospodnetić
cb7f8671ab
Corrected a bug in the Boost Build testing framework causing it to read file content with an additional newline character at the end when it already had one there instead of when it was missing.
...
[SVN r78968]
2012-06-16 02:29:36 +00:00
Jurko Gospodnetić
ede5a51520
Comment typo correction.
...
[SVN r78967]
2012-06-16 02:27:03 +00:00
Jurko Gospodnetić
aad774f8a1
Updated the rest of the Boost Build generator_selection.py test to not use the default CPP --> OBJ generator and use a custom 'simple copy file generator' instead to avoid problems with misconfigured test runners. Also made the test a bit stricter. This should fix the test failing on Sandia-darwin-intel test runners.
...
[SVN r78966]
2012-06-16 01:29:30 +00:00
Jurko Gospodnetić
a2ef66ba29
Minor stylistic changes.
...
[SVN r78965]
2012-06-16 01:22:58 +00:00
Jurko Gospodnetić
f33d140ee7
Reorganized the Boost Build generators-test.py test completely. Now no longer used regular OBJ, LIB & EXE target generators to avoid having to deal with specific compiler/linker features, e.g. some compilers causing test failures by returning an error code on a warning about an unexpected source file .target_cpp extension being used. Removed lots of duplication, made the test code much more readable, reviewed and cleaned up all the comments.
...
Broken commit - missing the appender.jam source file.
[SVN r78964]
2012-06-16 00:46:51 +00:00
Jurko Gospodnetić
f98d3aef09
Made the generators_test.py Boost Build test more detailed.
...
[SVN r78962]
2012-06-15 22:46:27 +00:00
Jurko Gospodnetić
5695c65f8b
Extracted static/shared library testing out of the generators_test.py Boost Build test and into a separate new static_and_shared_library.py test. Updated the test a bit in the process to make it test some additional use cases.
...
[SVN r78961]
2012-06-15 20:17:17 +00:00
Jurko Gospodnetić
fd2c21b147
Minor stylistic changes.
...
[SVN r78960]
2012-06-15 19:20:21 +00:00
Jurko Gospodnetić
121a0381d5
Minor stylistic changes.
...
[SVN r78959]
2012-06-15 19:13:27 +00:00
Jurko Gospodnetić
12d90df529
Updated the Boost Build generator_selection.py test to not use the default CPP --> OBJ generator and use a custom 'simple copy file generator' to avoid problems with some test runners using compilers/toolsets refusing to compile sources with unknown extensions. This should fix the test failing on IBM's AIX test runner.
...
[SVN r78952]
2012-06-15 06:57:02 +00:00
Jurko Gospodnetić
998067a318
Minor stylistic changes.
...
[SVN r78951]
2012-06-15 06:52:28 +00:00
Jurko Gospodnetić
f502135687
Comment typo correction. Trimmed trailing spaces.
...
[SVN r78950]
2012-06-15 06:04:53 +00:00
Jurko Gospodnetić
b9ef06781a
Code cleanup - removed an unneeded module import from Boost Build's startup_v2.py test.
...
[SVN r78946]
2012-06-14 12:31:27 +00:00
Jurko Gospodnetić
5c6c7e1cf6
Updated Boost Build's startup_v2.py test to cleanly report and there is an unexpected boost-build.jam file found in any of the folders along the test's current working folder path. Before, such a file would break the test making sure Boost Build correctly reports if such a file is missing, and in such a way that made debugging the problem difficult.
...
[SVN r78945]
2012-06-14 12:27:24 +00:00
Jurko Gospodnetić
aa5bbb84c1
Minor stylistic changes made to Boost Build's startup_v2.py test.
...
[SVN r78944]
2012-06-14 12:19:13 +00:00
Jurko Gospodnetić
27032c15b2
Corrected a defective Boost Build configuration.py test that gets run only on non-Windows platforms.
...
[SVN r78921]
2012-06-13 12:36:55 +00:00
Jurko Gospodnetić
0c1b6c255b
Added a new, temporary, always-failing Boost Build test named collect_debug_info.py. Used to collect additional debugging information about specific test sites, e.g. Python & OS version. Currently collects information required for debugging detected configuration.py test failures. Registered expected Boost library test failures.
...
[SVN r78918]
2012-06-13 01:02:02 +00:00
Jurko Gospodnetić
9ec86fca3b
Corrected how Boost Build's configuration.py test detects whether the current platform interprets setting an environment variable to an empty string literally or as unsetting that variable.
...
[SVN r78917]
2012-06-13 00:17:28 +00:00
Jurko Gospodnetić
7595fd910b
Corrected a few Python errors that snuck trough in the previous two Boost Build configuration.py test commits.
...
[SVN r78916]
2012-06-13 00:04:53 +00:00
Jurko Gospodnetić
eb2c285ad9
Corrected a bug in the Boost Build configuration.py test that was causing it to leave behind an invalid BOOST_BUILD_USER_CONFIG environment variable setting after it finishes running with a Python interpreter prior to version 2.6 (calling os.environ.pop() did not actually clear the environment variable in question).
...
[SVN r78915]
2012-06-13 00:01:01 +00:00
Jurko Gospodnetić
af4fc9b85b
Minor Boost Build configuration.py test cleanup.
...
[SVN r78914]
2012-06-12 23:55:54 +00:00
Jurko Gospodnetić
d3a49d8cb4
Cleaned up the Boost Build testing framework implementation a bit.
...
[SVN r78913]
2012-06-12 23:51:47 +00:00
Jurko Gospodnetić
a7d4564872
Removed temporary '--plinky-plonky' Boost Build debugging code.
...
[SVN r78906]
2012-06-12 08:11:48 +00:00
Jurko Gospodnetić
5db647087b
Added some temporary Boost Build debugging code as a part of the effort to track down some of the mysterious Boost Build test failures reported by the Boost library regression tests (namely, how on some platforms we are encountering empty target ids). Related code enabled using the '--plinky-plonky' command-line option.
...
[SVN r78891]
2012-06-11 13:22:17 +00:00
Jurko Gospodnetić
e636d36fa4
Minor sylistic changes - trimmed trailing spaces.
...
[SVN r78890]
2012-06-11 12:54:29 +00:00
Jurko Gospodnetić
34b5b33315
Cleaned up how Boost Build's test system reports unhandled exceptions. Now no longer uses deprecated global sys.exc_* variables and prints out the exception stack trace correctly.
...
[SVN r78889]
2012-06-11 12:53:54 +00:00
Jurko Gospodnetić
aa71370570
Corrected a Python error in the configuration.py Boost Build test script that might have caused the test to crash on startup if the surrounding environment had the 'UGNABUNGA_FOO_BAR_BAZ_FEE_FAE_FOU_FAM' environment set.
...
[SVN r78886]
2012-06-11 02:15:09 +00:00
Jurko Gospodnetić
78d1c7f9f4
Removed temporary debugging code from the configuration.py Boost Build test, now made redundant by better unhandled exception handling implemented in the main Boost Build test runner script.
...
[SVN r78885]
2012-06-11 02:13:13 +00:00
Jurko Gospodnetić
1764edd076
Minor stylistic changes.
...
[SVN r78884]
2012-06-11 02:09:24 +00:00
Jurko Gospodnetić
24002030db
Made the main Boost Build test runner script correctly report unhandled and unexpected exceptions raised from specific test scripts. Before, such an exception would terminate the whole test run while now it gets cleanly reported as just another test failure. This makes Boost library regression test results correctly report any Python errors (e.g. using a Python feature not supported by the used Python version) which previously developers had no built-in way of getting feedback about.
...
[SVN r78883]
2012-06-11 02:02:59 +00:00
Jurko Gospodnetić
b8d4657d9c
Made the main Boost Build test runner script not assume that successful tests will leave behind no annotations, thus making result processing with and without XML output symmetric. Before, with XML output, if a passed test left behind some annotations, they would get reported as annotations for the next failing test.
...
[SVN r78882]
2012-06-11 01:58:05 +00:00
Jurko Gospodnetić
6acb36bc11
Removed some 'regression' test specialized debugging code from the main Boost Build test runner script that seems to have been left behind from some debugging efforts. It would cause annotations to be displayed to the user if that test failed and no XML output was requested, while for all the other failed tests such annotations are ignored. This seems unnecessary since this output can be collected by directly running the regression.py test script, same as what is done with any other failed test.
...
[SVN r78881]
2012-06-11 01:55:43 +00:00
Jurko Gospodnetić
05887be75a
Made the main Boost Build test runner script better align its test results on screen when not run with XML output. Now the maximum test name length is no longer hardcoded.
...
[SVN r78880]
2012-06-11 01:49:52 +00:00
Jurko Gospodnetić
028a05d91a
Comment typo correction.
...
[SVN r78879]
2012-06-11 01:47:08 +00:00
Jurko Gospodnetić
34e2f59a2c
Minor stylistic cleanup in the main Boost Build test runner script.
...
[SVN r78878]
2012-06-11 01:46:24 +00:00
Jurko Gospodnetić
bcf6b92952
Stopped using the Python string.format() method in the Boost Build configuration.py test to support running that test using Python versions older than 2.6.
...
[SVN r78875]
2012-06-11 00:26:11 +00:00
Jurko Gospodnetić
7f65d1e113
Updated Boost Build configuration.py test debugging code to re-raise any non-SystemExit unhandled exceptions as SystemExit exceptions to avoid aborting the test runner test_all.py script.
...
[SVN r78873]
2012-06-10 16:41:22 +00:00
Jurko Gospodnetić
3c23ae405f
Added additional temporary debugging code to the Boost Build configuration.py test to help with debugging related test failures reported on different platforms.
...
[SVN r78871]
2012-06-10 16:18:33 +00:00
Jurko Gospodnetić
673c3d765c
Minor stylistic changes.
...
[SVN r78870]
2012-06-10 16:02:02 +00:00
Jurko Gospodnetić
d029652eee
Temporarily commented out all Boost Build configuratio.py test code related to setting empty-string environment variables. Part of the effort to make this test pass on all supported platforms - trying to make sure this is the part of the test causing problems on some non-Windows platforms.
...
[SVN r78869]
2012-06-10 10:05:04 +00:00
Jurko Gospodnetić
7211406abb
Updated the configuration.py Boost Build test to adapt to whether the platform running that test supports setting an environment variable to an empty string value. Made the same test use explicitly specified test case ids since now some of those test cases may be skipped on specific platforms.
...
[SVN r78867]
2012-06-10 00:54:13 +00:00
Jurko Gospodnetić
90e7e882e7
Update the Boost Build testing framework to work correctly when calling Boost Jam with arguments containing extra spaces. Such argument strings get split on whitespace characters and cause the constructed argument list to contain empty elements which code using that list was not handling correctly.
...
[SVN r78866]
2012-06-09 23:19:07 +00:00
Jurko Gospodnetić
9f58e0d2da
Updated the configuration.py Boost Build test to display more detailed information about which of its test cases failed exactly. Now each test case there displays a unique identifier on stdout when run.
...
[SVN r78865]
2012-06-09 23:02:42 +00:00
Jurko Gospodnetić
1d6b11b0db
Minor stylistic configuration.py Boost Build test changes.
...
[SVN r78864]
2012-06-09 22:58:35 +00:00
Jurko Gospodnetić
475d86e17e
Updated the Boost Build configuration.py test so it tests explicitly disabling user configuration loading and tests specifying the user configuration file using the BOOST_BUILD_USER_CONFIG environment variable. This fixes invalid test failures when the BOOST_BUILD_USER_CONFIG environment was set on the test runner machines.
...
[SVN r78857]
2012-06-08 08:23:58 +00:00
Jurko Gospodnetić
b26297d8f3
Commented two new test case ideas for Boost Build's timedata test - 'time' targets with sources representing more than one virtual target and sources representing a virtual target that gets built by multiple actions in sequence.
...
[SVN r78684]
2012-05-27 15:10:24 +00:00
Jurko Gospodnetić
6e3f389e6f
Fix for Boost Build testing.jam module's time action on Windows. It now no longer outputs extra quote characters when run under the Windows cmd shell and so no longer fails when Boost Build passes it an even number of sources. Updated related unit test (to see the full effect run using the Windows cmd shell and the Cygwin gcc toolset as this test still fails for other reasons when using the msvc toolset). Better commented related code.
...
[SVN r78671]
2012-05-27 06:36:49 +00:00
Jurko Gospodnetić
bd4d630f69
Added a new Boost Build unit test exercising the Jam variable expansion in actions.
...
[SVN r78670]
2012-05-27 00:00:30 +00:00
Jurko Gospodnetić
2fd4ebc4cc
Added a new Boost Build unit test exercising the SPLIT_BY_CHARACTERS built-in rule.
...
[SVN r78669]
2012-05-26 23:27:33 +00:00
Jurko Gospodnetić
cd29f50042
Made the Boost Build core-language test pass on Windows 7. This test expects certain registry keys to exist under HKLM\SYSTEM\CurrentControlSet but Windows 7 added an additional 'Policies' one there.
...
[SVN r78626]
2012-05-25 18:59:05 +00:00
Steven Watanabe
b7d2e4d06c
Make unit-test handle paths containing spaces.
...
[SVN r78538]
2012-05-22 04:20:29 +00:00
Steven Watanabe
d3b0ec3508
Handle cycles when determining target fate in make0.
...
[SVN r78259]
2012-04-30 01:21:04 +00:00
Steven Watanabe
4fbd8fa775
Pass the correct argument to make1breakcycle and make sure that we don't add a spurious self-dependency.
...
[SVN r78252]
2012-04-29 04:27:55 +00:00
Steven Watanabe
9e04ceafc3
Stop targets that depend on an include cycle from updating before all the required generated headers are built.
...
[SVN r78250]
2012-04-29 01:06:55 +00:00
Steven Watanabe
e6b3927ef3
Detect cycles created by rescanning.
...
[SVN r78249]
2012-04-28 22:05:28 +00:00
Steven Watanabe
52b16cdc4d
Add test of rescanning for headers.
...
[SVN r78248]
2012-04-28 19:51:01 +00:00
Steven Watanabe
f7c880765e
Reduce pauses.
...
[SVN r77648]
2012-03-30 14:52:38 +00:00
Steven Watanabe
ee897c8bd3
Test for ECHO.
...
[SVN r77646]
2012-03-30 14:04:44 +00:00
Steven Watanabe
2a23d156c7
Test for EXIT
...
[SVN r77644]
2012-03-30 12:51:59 +00:00
Steven Watanabe
33ddd8221b
Fix test
...
[SVN r77524]
2012-03-25 00:10:32 +00:00
Steven Watanabe
3fd7ecbccd
More correct behavior of -n with FAIL_EXPECTED targets and across multiple calls to UPDATE_NOW.
...
[SVN r76045]
2011-12-18 16:51:43 +00:00
Steven Watanabe
295e3d222c
Fix the result of while.
...
[SVN r75945]
2011-12-14 21:49:34 +00:00
Steven Watanabe
01b1d78744
Fix a subtle problem in the result of if statements.
...
[SVN r75944]
2011-12-14 21:33:26 +00:00
Steven Watanabe
ce2ca5e4f1
Restore the original BACKTRACE behavior that I inadvertently changed.
...
[SVN r75929]
2011-12-13 00:03:38 +00:00
Steven Watanabe
fc186f2603
Tests for join
...
[SVN r75881]
2011-12-09 23:21:40 +00:00
Steven Watanabe
feb63badf1
Remove project-test1. It's hopelessly broken and not run by test_all.py.
...
[SVN r75880]
2011-12-09 19:37:53 +00:00
Steven Watanabe
e187955f5e
Update unused.py and add it to test_all.py.
...
[SVN r75879]
2011-12-09 18:19:50 +00:00
Steven Watanabe
cf2e6f77ed
Fix direct_request_test and add it to test_all.py.
...
[SVN r75877]
2011-12-09 16:08:44 +00:00
Steven Watanabe
97a17f42ee
Remove some out-dated tests. The functionality is already tested elsewhere, so they don't need to be ported.
...
[SVN r75873]
2011-12-09 04:59:16 +00:00
Steven Watanabe
791ef6d70a
Handle STDOUT and STDERR in @ files.
...
[SVN r75872]
2011-12-09 03:56:02 +00:00
Steven Watanabe
0dc10e9d7d
Fix tests using sleep on Windows.
...
[SVN r75871]
2011-12-09 01:36:04 +00:00
Steven Watanabe
c9f73695e3
Remove file_name_handling.py. The functionality that it was testing was a horrible hack that never really worked to solve a problem that has since been fixed in another way.
...
[SVN r75857]
2011-12-07 19:49:17 +00:00
Steven Watanabe
7eb75eabb5
Fix the two example tests.
...
[SVN r75855]
2011-12-07 17:45:52 +00:00
Steven Watanabe
91252f29d1
Grep for modules with a __test__ rule.
...
[SVN r75854]
2011-12-07 17:33:49 +00:00
Steven Watanabe
4f0085fc89
Avoid copying the entire test directory.
...
[SVN r75853]
2011-12-07 17:26:08 +00:00
Steven Watanabe
c555793cd3
Remove testing prototype.
...
[SVN r75851]
2011-12-07 17:03:55 +00:00
Steven Watanabe
ec4d53ec97
Remove tests from Boost.Build V1.
...
[SVN r75850]
2011-12-07 16:52:58 +00:00
Steven Watanabe
67c759581d
Integrate everything useful from check-jam-patches into the Python test system.
...
[SVN r75835]
2011-12-07 05:05:03 +00:00
Steven Watanabe
71b24b5005
Integrate the tests in test/engine/ into the Python test scripts.
...
[SVN r75834]
2011-12-07 02:43:29 +00:00
Steven Watanabe
c8480a9cf5
Try to test the language semantics thoroughly
...
[SVN r75738]
2011-11-30 00:06:31 +00:00
Steven Watanabe
e53d9ada43
Fix a few test problems on cygwin and mingw
...
[SVN r75737]
2011-11-30 00:03:54 +00:00
Vladimir Prus
d7e539e68a
Adjust configuration.py to Boost.Build/Python.
...
[SVN r75506]
2011-11-16 13:00:41 +00:00
Steven Watanabe
889fff3e70
Fix Jamfile loading for Boost.Test.
...
[SVN r75407]
2011-11-08 15:54:54 +00:00
Vladimir Prus
d4c51760cb
Fix the functionality of ignoring using config in Python port.
...
[SVN r75110]
2011-10-25 08:26:40 +00:00
Vladimir Prus
38d95bfc4e
Fix conditionals_multiple.py test in Boost.Build/Python.
...
Patch from Georgy Gritsenko.
[SVN r75109]
2011-10-25 08:05:06 +00:00
Vladimir Prus
a52f70a901
Adjust the 'prebuilt' test to use the 'os' module, to help Python port.
...
[SVN r75032]
2011-10-18 08:58:06 +00:00
Jürgen Hunold
0d73eb1f3e
Fix #5802 : Add response file support for moc.
...
[SVN r74058]
2011-08-25 18:09:59 +00:00
Jürgen Hunold
128b44ce04
Maintenance and Qt-4.7.x support
...
[SVN r73300]
2011-07-22 12:24:17 +00:00
Vladimir Prus
ff650d6ff1
Unbreak Boost.Build tests
...
[SVN r72883]
2011-07-03 21:05:59 +00:00
Steven Watanabe
9e87df467c
Implement a preprocessed rule for generating preprocessed source files. Refs #5390 . This is not yet complete as it is only implemented for gcc and msvc.
...
[SVN r71094]
2011-04-07 23:41:19 +00:00
Vladimir Prus
e1f1c99d2f
Move engine tests. Remove some releng bits that were useful only for
...
standardlone engine.
[SVN r68591]
2011-02-01 08:08:56 +00:00
Daniel James
c44506a7e3
Link fixes.
...
[SVN r66273]
2010-10-30 14:32:50 +00:00
Vladimir Prus
e42df53686
Fix test/using.py.
...
[SVN r64639]
2010-08-06 13:04:21 +00:00
Vladimir Prus
6182a77099
Preserve current project across 'using' statements.
...
[SVN r64638]
2010-08-06 13:02:27 +00:00
Vladimir Prus
b0805afaa2
Do not make source-location attribute always absolute.
...
Also, adjust reporting and expectations for metatarget reference
recursion.
[SVN r64636]
2010-08-06 12:45:48 +00:00
Vladimir Prus
1b4c2cf91d
Fix alternative selection and some error reporting and a test.
...
[SVN r64635]
2010-08-06 12:32:34 +00:00
Vladimir Prus
ac7f0272b9
Fix lots of things.
...
[SVN r64625]
2010-08-06 08:40:42 +00:00
Vladimir Prus
67cb81915b
Remove unused bits
...
[SVN r64613]
2010-08-05 09:11:17 +00:00
Vladimir Prus
c411fb609b
Port build/configure.jam.
...
Also allow to expose Python class to Jam, which fixes
tag.py and inline.py testcases.
[SVN r64610]
2010-08-05 06:22:58 +00:00
Vladimir Prus
b679616a3b
Ubreak tests/dll_path.py in non-python mode.
...
[SVN r64593]
2010-08-04 10:24:59 +00:00
Vladimir Prus
707aca5155
Somewhat fix searched libraries.
...
[SVN r64554]
2010-08-02 21:27:33 +00:00
Vladimir Prus
1241fa5b84
Fix test/suffix.py
...
[SVN r64553]
2010-08-02 20:24:50 +00:00
Vladimir Prus
7052e98b3a
Make test/standalone.py pass.
...
[SVN r64549]
2010-08-02 17:30:46 +00:00
Vladimir Prus
d675ae0aea
Initial support for making Python module act as project.
...
[SVN r64548]
2010-08-02 16:53:42 +00:00
Vladimir Prus
bd0c1a9b1b
Partially upgrade build/generators.py
...
[SVN r64539]
2010-08-02 14:15:50 +00:00
Vladimir Prus
f4a0ff6125
Fix the 'chain' and 'inherited_dependency' tests.
...
[SVN r64460]
2010-07-30 08:46:20 +00:00
Vladimir Prus
b80c89386a
Fix expected status
...
[SVN r64433]
2010-07-29 11:40:00 +00:00
Vladimir Prus
487f970c15
Port notfile.py. Attempt to clean the mess with decorating action names.
...
[SVN r64431]
2010-07-29 10:39:31 +00:00
Vladimir Prus
77d60028bb
Various fixes
...
[SVN r64426]
2010-07-29 05:35:32 +00:00
Vladimir Prus
78fc7e42c3
More header dependencies fixes
...
[SVN r64408]
2010-07-28 12:39:39 +00:00
Vladimir Prus
23174ae216
More changes
...
[SVN r64406]
2010-07-28 12:04:31 +00:00
Vladimir Prus
d9169015d1
Make default build work.
...
Also, return non-zero status if there were errors.
[SVN r64384]
2010-07-27 11:53:37 +00:00
Vladimir Prus
12688d3182
Make build-dir project attribute and command-line option work.
...
[SVN r64357]
2010-07-26 11:40:00 +00:00
Vladimir Prus
9f9e7f163b
Make test framework not crash when reading nonexistent file
...
[SVN r64353]
2010-07-26 09:20:54 +00:00
Vladimir Prus
3d92c23c29
Major update of top level 'build_system.py' module.
...
[SVN r64351]
2010-07-26 08:28:12 +00:00
Vladimir Prus
6ce5d75ab1
When test fails and --preserve is set, also show the command line.
...
[SVN r64348]
2010-07-26 07:51:18 +00:00
Vladimir Prus
e963e2842c
Unbreak conditional requirements work.
...
[SVN r64305]
2010-07-23 15:08:14 +00:00
Vladimir Prus
a12b8de478
Fix search for Boost.Jam in Boost.Build testing
...
[SVN r64217]
2010-07-21 11:04:12 +00:00
Vladimir Prus
d894ae7f90
Don't check for non-existent paths
...
[SVN r63919]
2010-07-12 08:15:41 +00:00
Vladimir Prus
90c3f1170f
Fix detection of exit status. We use close on pipe to get return status
...
and if program does exit(1) we get '1'. The code for checking was
using os.WIFSIGNALLED, and that returns true for '1' -- it seems like
it is expecting result of os.system, which would be 256, or something.
[SVN r62634]
2010-06-09 07:09:29 +00:00
Vladimir Prus
2f11a215e4
Disambiguiate targets and directories passed to 'build-project'.
...
Previously, if a Jamfile had:
exe a : a.cpp ;
build-project a ;
where a is also a subdirectory, we'd get error.
[SVN r61054]
2010-04-04 21:04:48 +00:00
Vladimir Prus
69c43f3002
Ignore bin/config.log when testing
...
[SVN r60253]
2010-03-06 18:49:05 +00:00
Jürgen Hunold
8cfbc7c18e
Add support for QtMultimedia framework in upcoming Qt-4.6.
...
[SVN r56132]
2009-09-10 10:14:46 +00:00
Vladimir Prus
8c1bd79f33
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
5368d5d44f
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
2a5d05b79a
More diagnostics for tests that fail on OSX.
...
[SVN r55865]
2009-08-29 13:34:09 +00:00
Vladimir Prus
4d9d7d2ab6
Testsuite fixes for windows.
...
[SVN r55332]
2009-08-01 10:31:05 +00:00
Vladimir Prus
5c9481211d
Improve reporting of failed test due to unexpected changes.
...
[SVN r55220]
2009-07-28 07:11:09 +00:00
Vladimir Prus
5930635366
Attempt at fixing generators_test on windows
...
[SVN r55198]
2009-07-27 07:20:34 +00:00
Vladimir Prus
5066c210e0
Properly report failures to add/remove/modify file.
...
[SVN r55152]
2009-07-25 06:47:43 +00:00
Vladimir Prus
2b66a7dc04
Exclude default_toolset.py
...
[SVN r54972]
2009-07-15 19:06:04 +00:00
Vladimir Prus
bb5579e553
Make toolchain check work if version is provided.
...
[SVN r52437]
2009-04-17 07:42:34 +00:00
Jurko Gospodnetić
9de7e80a1a
Makes the Boost Build testing system correctly report the number of passed test cases instead of reporting all test cases as passed.
...
[SVN r51396]
2009-02-22 17:36:30 +00:00
Jurko Gospodnetić
478d847f17
Converted tabs to spaces in the Boost Build test/test_all.py to make all whitespace style used in this file consistent.
...
[SVN r51391]
2009-02-22 16:02:58 +00:00
Jurko Gospodnetić
955acd74da
Removed trailing spaces.
...
[SVN r51390]
2009-02-22 15:55:04 +00:00
Jürgen Hunold
18b11c7960
Add support for QtScriptTools (Qt-4.5)
...
[SVN r51300]
2009-02-17 19:30:19 +00:00
Steven Watanabe
34c4942aee
Fix generator_selection on windows
...
[SVN r51227]
2009-02-12 19:10:40 +00:00
Steven Watanabe
9f46413ba8
Make c-scanner use native path format for included headers in order to match the names of generated headers
...
[SVN r50390]
2008-12-27 20:31:15 +00:00
Vladimir Prus
182ce6525e
Include more attributes in test results
...
[SVN r50179]
2008-12-07 14:56:43 +00:00
Vladimir Prus
6d6162bc99
Include annotations in test log
...
[SVN r50173]
2008-12-07 08:41:56 +00:00
Vladimir Prus
c3c4a6ac16
Make sure 'FAILED' is printed on failure
...
[SVN r49787]
2008-11-16 13:19:26 +00:00
Vladimir Prus
bed238bee8
Fix typo
...
[SVN r49785]
2008-11-16 12:46:11 +00:00
Vladimir Prus
3166e502a4
XML output support
...
[SVN r49731]
2008-11-13 21:30:05 +00:00
Vladimir Prus
2c7c99a5f7
When source resides in a subdirectory of source dir, preserve that
...
subdirectory in the target path.
[SVN r49714]
2008-11-13 08:26:39 +00:00
Vladimir Prus
04a996fd57
Unbreak generator_selection test on Linux
...
[SVN r49711]
2008-11-13 07:12:12 +00:00
Steven Watanabe
77a9d5d406
Make common.copy set the timestamp of the destination to the current time on windows
...
[SVN r49463]
2008-10-27 16:27:53 +00:00
Jurko Gospodnetić
2a4e376943
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ć
7ee3357c1b
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ć
4f5346a3ad
Minor stylistic changes in the Boost Build internal unit testing implementation Python script.
...
[SVN r48647]
2008-09-07 08:36:03 +00:00
Jurko Gospodnetić
03b33009ec
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ć
92aea5bb39
Minor stylistic changes throughout several Boost Build modules. Added several todo comments.
...
[SVN r48644]
2008-09-07 06:10:32 +00:00
Jurko Gospodnetić
cd67c38e31
Reordered all Boost Build test declarations alphabetically to make it easier to scan through them visually.
...
[SVN r48597]
2008-09-05 02:04:51 +00:00
Jurko Gospodnetić
ed748f97f2
Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new derived target type. Currently quick-fixed by clearing most of the cached values when registering a new derived target type. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them directly by simply added the derived target type to them.
...
[SVN r48596]
2008-09-05 01:58:07 +00:00
Jurko Gospodnetić
571c336bfb
Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
...
[SVN r48595]
2008-09-05 01:55:01 +00:00
Jurko Gospodnetić
324e6bc227
Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new generator. Currently quick-fixed by clearing most of the cached values when registering a new generator. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them or even only marking them to be lazily updated when needed next.
...
Problem detected & and a reproducible example constructed by Juraj Ivančić. Debugged by Vladimir Prus. Patched and packaged by Jurko Gospodnetić.
[SVN r48590]
2008-09-05 00:26:43 +00:00
Jurko Gospodnetić
677aefd23b
Minor stylistic changes in several Boost Build unit tests.
...
[SVN r48589]
2008-09-04 23:12:25 +00:00
Jurko Gospodnetić
f20f88b91d
Renamed differently named Jamroot and Jamfile files throughout Boost Build's test suite to jamroot.jam & jamfile.jam. Stylistic changes throughout the whole Boost Build test suite.
...
[SVN r48504]
2008-08-31 21:42:27 +00:00
Jurko Gospodnetić
cff7f85e77
Minor stylistic changes made to the Boost Build make example test.
...
[SVN r48443]
2008-08-29 12:35:11 +00:00
Vladimir Prus
6a12a760dc
Make build_file test work on Linux
...
[SVN r48389]
2008-08-25 19:09:30 +00:00
Vladimir Prus
bc2225da16
Actually unbreak the 'make' test
...
[SVN r48388]
2008-08-25 19:05:39 +00:00
Vladimir Prus
466fee25cc
Unbreak file_name_handling on Linux.
...
The "(" and ")" characters have special meaning to the shell, and must be quoted.
[SVN r48387]
2008-08-25 18:55:06 +00:00
Jurko Gospodnetić
e8cebe30f4
Added Boost Build database unit tests related to inherited dependency property handling.
...
Part of the work by Steven Watanabe on fixing the Boost Build trac ticket #13 (http://zigzag.cs.msu.su/boost.build/ticket/13 ).
[SVN r48317]
2008-08-23 12:22:43 +00:00
Jurko Gospodnetić
858a87c9ab
Minor stylistic changes made to the Boost Build test/generators_test.py test case module.
...
[SVN r48310]
2008-08-23 09:08:24 +00:00
Jurko Gospodnetić
265c102f67
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ć
9306c3f12c
Minor stylistic changes made to the Boost Build test/clean.py test script. Corrected the second test case the --clean option was getting tested instead of --clean-all.
...
See the trac ticket http://zigzag.lvk.cs.msu.su:7813/boost.build/ticket/198 on what still needs to be improved with this test.
[SVN r47970]
2008-08-04 17:58:53 +00:00
Rene Rivera
4563c7e34e
Revert changeset [47536].
...
[SVN r47571]
2008-07-18 16:13:20 +00:00
Steven Watanabe
f7298b43cf
Make c-scanner search directories specified
...
with <include>a&&b
* tools/buitin.jam
(c-scanner.__init__) split includes at &&
* test/test_all.py test/ordered_include.py
Test case for this fix.
[SVN r47537]
2008-07-18 03:25:20 +00:00
Steven Watanabe
8518a6fd56
Make dependency properties specified in project requirements
...
not cause errors in subprojects.
* build/property.jam
(tranlate-dependencies) New rule to bind dependency
properties to the project that they are specified in.
* build/property-set.jam
(create-from-user-input) Add call to property.translate-dependencies
* test/test_all.py test/inherited_dependency.py
Test case for this fix.
[SVN r47536]
2008-07-18 03:11:08 +00:00
Jürgen Hunold
80ce5b2b76
Refactoring of library declaration in qt4.jam.
...
Simplyfied declaration of Qt component libraries.
Removed duplicated code.
Add test cases for most of the Qt component libraries.
[SVN r47391]
2008-07-13 18:40:02 +00:00
Jurko Gospodnetić
bd36639325
Corrected the Boost Build conditionals_multiple.py test case.
...
[SVN r47343]
2008-07-12 11:25:04 +00:00
Jürgen Hunold
077d0cbc93
Fix: adjust to r40898: Fix: remove <user-interface>gui from usage-requirements of QtGui.
...
[SVN r47140]
2008-07-06 19:14:42 +00:00
Jurko Gospodnetić
d539f344a3
Minor stylistic comment change.
...
[SVN r45168]
2008-05-06 09:34:20 +00:00
Jurko Gospodnetić
84a9f25f9f
Fixed a bug causing Boost Jam not to handle target file names specified as both short and long file names correctly. Bug fixed by making bindtarget() function map names to TARGETs by using their long file names.
...
When scanning directories and creating a list of all their content (filent.c) it would identify all the located files and folders using their long file names. On the other hand, referencing a target using its short file name inside a Jam script caused Boost Jam to reference those files twice using two separate TARGET structures - one identified using the file's short name and one using the file's long name.
One bad example was the MkDir which would always attempt to create a folder identified by its short name even if that folder already existed (due to the NOUPDATE rule getting applied on the incorrect TARGET).
The change does not affect targets whose names do not represent existing file names.
Also, it seems to me that the short_path_to_long_path() call in file_dirscan() in the filent.c module should most likely be moved to file_info() in the filesys.c module. This would make mapping file names to file_info_t & TARGET structures consistent. However, I have not done this in this patch just to make the patch as minimal as possible.
Prepared tests have been do nothing on non Windows platforms.
[SVN r45144]
2008-05-05 15:52:56 +00:00
Jurko Gospodnetić
d7edf299d8
Cleaned up the main Boost Build module a bit related to how it processes explicit file (not target) references specified on the command line. Improved the related unit test. Minor stylistic changes.
...
[SVN r45070]
2008-05-03 16:05:17 +00:00
Jurko Gospodnetić
b800e2be7a
Updated the Boost Build test system's documentation about Tester.run_build_system() parameters. Minor stylistic changes.
...
[SVN r45005]
2008-05-02 01:02:01 +00:00
Jurko Gospodnetić
e10cbb7c2a
Minor stylistic changes.
...
[SVN r45004]
2008-05-02 00:57:29 +00:00
Jurko Gospodnetić
91c3a8c504
Added a new regression test making sure that the Boost Jam SORT builtin rule does not start getting quadratic behavior in some special cases as well as testing that the sorting algorithm works correctly. Related to the patch committed in revision 44195. Trimmed trailing spaces in tools/build/v2/test/test_all.py.
...
[SVN r45001]
2008-05-02 00:36:23 +00:00
Jurko Gospodnetić
9f994d6c90
Added support for tests checking that a build run did not take longer than expected to finish. Minor stylistic changes.
...
[SVN r45000]
2008-05-02 00:12:29 +00:00
Jurko Gospodnetić
692d2cb469
Minor stylistic changes.
...
[SVN r44995]
2008-05-01 21:19:11 +00:00
Jurko Gospodnetić
4372b775a9
Upgraded the internal Boost Build test system so it can be run from folders whose names contain spaces on Windows. Also added a workaround for a Python bug on Windows where it has some undocumented behavior when starting processes using commands containing quotes.
...
[SVN r44993]
2008-05-01 20:22:12 +00:00
Jurko Gospodnetić
eff732b908
Fixed a bug with BOOST_BUILD_PATH not getting set correctly in Boost Build unit tests in case it contained spaces.
...
[SVN r44991]
2008-05-01 19:47:37 +00:00
Jurko Gospodnetić
21648313a7
Updated the Boost Build test system documentation. Now all the command line options are described. Several function descriptions updated.
...
[SVN r44983]
2008-05-01 17:08:04 +00:00
Jurko Gospodnetić
f23d32f8b2
Updated the main Tester class comment in tools/build/v2/build/v2/test/BoostBuild.py describing all of its available constructor parameters. Minor stylistic changes.
...
[SVN r44982]
2008-05-01 17:06:02 +00:00
Jurko Gospodnetić
a4fc3f6257
Added explanation comments for match_exact() and match_re() functions in tools/build/v2/test/TestCmd.py. Removed corpse interpreted member from the TescCmd class and the related setter function in tools/build/v2/test/TestCmd.py. Minor stylistic comment changes.
...
[SVN r44981]
2008-05-01 17:04:22 +00:00
Jurko Gospodnetić
6e3eb35cca
Renamed the Tester.wait_for_time_change() function to Tester.wait_for_time_change_since_last_build() to avoid confusion.
...
[SVN r44970]
2008-05-01 09:55:47 +00:00
Jurko Gospodnetić
c98691d310
Consistently converted tabs to spaces in tools/build/v2/test/BoostBuild.py to avoid confusion reading the Python source.
...
[SVN r44969]
2008-05-01 09:39:45 +00:00
Rene Rivera
7e238d9b7c
Use local sorted() function to support Python < 2.4.
...
[SVN r44165]
2008-04-11 05:34:00 +00:00
Vladimir Prus
02e16a934e
For BoostBuild regression test, handle OSX intel.
...
Patch from Hugo Duncan.
[SVN r43989]
2008-04-01 18:22:21 +00:00
Jurko Gospodnetić
75cbaf0563
Updated the test so it passes on Windows. Had to change it to enable action output logging and compensate for the fact that now action names are sent to the output as well. Minor stylistic changes.
...
[SVN r42639]
2008-01-09 17:03:45 +00:00
Jurko Gospodnetić
101e52bea6
Updated the test so it passes on Windows. Had to change it to enable action output logging and compensate for the fact that now action names are sent to the output as well. Minor stylistic changes.
...
[SVN r42637]
2008-01-09 14:36:37 +00:00
Rene Rivera
a375083c27
Revert various changes that break backward compatibility, and also some minor edits.
...
[SVN r42633]
2008-01-09 04:34:12 +00:00
Rene Rivera
6f12bd5e02
Revert various changes that break backward compatibility, and also some minor edits.
...
[SVN r42632]
2008-01-09 04:31:58 +00:00
Jurko Gospodnetić
28ee146607
Fixed a failing test by making it access its action results using the __ACTION_RULE__ rule. Now it works with the default debug level settings (i.e. no action output displayed).
...
[SVN r42631]
2008-01-09 04:30:25 +00:00
Jurko Gospodnetić
e8474dd69f
Fixed a failing test by making it access action output using the __ACTION_RULE__ rule so it would not be affected by the level of debug output given by Boost Build/Jam.
...
[SVN r42630]
2008-01-09 04:15:35 +00:00
Jurko Gospodnetić
5b239afb81
Added a new test making sure properties conditioned on multiple different feature values are handled correctly. This especially includes testing the case when one of those features is <toolset> and the value given for it includes a toolset version.
...
[SVN r42613]
2008-01-08 14:40:24 +00:00
Jurko Gospodnetić
67c18a2efd
Added a new configuration test making sure that the bug with not being able to process absolute user-config configuration file references never rears its ugly head again.
...
[SVN r42568]
2008-01-07 18:38:28 +00:00
Jurko Gospodnetić
bca21b46da
Code cleanup. Converted to using True/False instead of 1/0. Changed to obey documented coding conventions regarding whitespace and function parameters. Renamed private member functions to use the __ name prefix.
...
[SVN r42567]
2008-01-07 18:15:13 +00:00
Jurko Gospodnetić
d289a56902
Added new tests related to Boost Build's default toolset handling. They test that the correct default toolset gets use and that when it gets used that has no different status than any other explicitly specified toolset.
...
[SVN r42549]
2008-01-06 20:56:20 +00:00
Jurko Gospodnetić
7449bd72d2
Added support for tests configuring whether they want their Boost Build to ignore toolset requirements instead of always ignoring them. Minor stylistic changes.
...
[SVN r42548]
2008-01-06 20:43:25 +00:00
Jurko Gospodnetić
5ab291e73a
Simple code cleanup. Typo corrections.
...
[SVN r42547]
2008-01-06 20:37:55 +00:00
Jurko Gospodnetić
d7df2d92ca
Stylistic changes: typo corrections, comment alignments, output string updates, no functional changes, etc.
...
[SVN r42516]
2008-01-06 08:16:34 +00:00
Jurko Gospodnetić
275694b5db
Upgraded the tool for testing that a certain line exists in the given output support so that it now also knows how to test that a certain line does not exist in the given output.
...
[SVN r42513]
2008-01-06 07:26:46 +00:00
Jurko Gospodnetić
a8f922c12c
Added a --test-config command-line option for specifying where the test configuration file should be loaded from instead of always being looked up in Boost Build's test folder. This allows non-test builds to not use test config when it exists on the system and different tests to use different test configurations when needed.
...
[SVN r42509]
2008-01-06 06:50:56 +00:00
Jurko Gospodnetić
54cf208294
No functional changes but only stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, removing empty lines, removed unnecessary module imports, etc.
...
[SVN r42507]
2008-01-06 00:53:09 +00:00
Jurko Gospodnetić
9b97e0ac91
No functional changes but only stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, removing empty lines, made tests use Jamfile.jam and Jamroot.jam Boost Build script names, removed unnecessary module imports, etc.
...
[SVN r42506]
2008-01-06 00:25:48 +00:00
Jurko Gospodnetić
1cca32571d
Refactored the test into two separate test functions. Made the 'directory names with dots' test use the expect_output_line() tool instead of a manual find, causing a better diagnostic to be displayed in case of a failure. Made one of the test Jam scripts more compact. Made the test use the Jamroot.jam file instead of project-root.jam.
...
[SVN r42504]
2008-01-05 23:18:17 +00:00
Jurko Gospodnetić
970d44358f
Test code cleaned up a bit. No functional changes.
...
[SVN r42499]
2008-01-05 21:37:15 +00:00
Jurko Gospodnetić
b871e58f62
Renamed some Jamfile and project-root.jam references to Jamfile.jam and Jamroot.jam respectively.
...
[SVN r42498]
2008-01-05 20:48:50 +00:00
Jurko Gospodnetić
07ba5ac218
Minor stylistic changes - cleaned up import calls, wrapped much text at 80 characters updated comments, typo corrections, removed trailing spaces, etc.
...
[SVN r42497]
2008-01-05 20:37:44 +00:00
Jurko Gospodnetić
f108323c1e
Simplified the used make rules. Removed some dead code. Minor stylistic changes.
...
[SVN r42490]
2008-01-05 18:14:20 +00:00
Jurko Gospodnetić
e54169f771
Stylistic comment changes & typo corrections in several files. Corrected an incorrect error message in boost-build/build/project.jam displayed when a --build-dir command-line option and a non top-level project build-dir attribute are specified.
...
[SVN r42486]
2008-01-05 17:52:31 +00:00
Vladimir Prus
eb1a8a77d0
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
60ae680af7
Make inherit_toolset.py pass.
...
Patch from Jurko Gospodnetic.
[SVN r42300]
2007-12-25 09:38:19 +00:00
Vladimir Prus
36a79b841f
Fix typos.
...
Patch from Jurko Gospodnetic
[SVN r42296]
2007-12-25 09:25:25 +00:00
Rene Rivera
ad236a1ea7
Fix time related callbacks to new arguments.
...
[SVN r42247]
2007-12-22 21:32:17 +00:00
Rene Rivera
a42f466fd2
Inspection report fixes.
...
[SVN r41212]
2007-11-18 20:24:25 +00:00
Beman Dawes
8aeb9f160a
Get rid of .cvsignore files
...
[SVN r41107]
2007-11-15 15:20:27 +00:00
Vladimir Prus
2eb44eeb35
Attemp to fix searched_lib on windows
...
[SVN r39831]
2007-10-09 06:37:00 +00:00
Vladimir Prus
a53633a6cf
Windows fix
...
[SVN r39821]
2007-10-08 21:47:05 +00:00
Vladimir Prus
06a13cedeb
Windows fix
...
[SVN r39820]
2007-10-08 21:28:09 +00:00
Vladimir Prus
26a974cb03
Windows fix
...
[SVN r39818]
2007-10-08 21:13:05 +00:00
Vladimir Prus
372d909cdb
Windows fix
...
[SVN r39817]
2007-10-08 21:10:41 +00:00
Vladimir Prus
0fa6aa1374
Correct example test-config.jam
...
[SVN r39630]
2007-10-01 06:04:17 +00:00
Vladimir Prus
d1e6123a09
Update example test-config.jam
...
[SVN r39623]
2007-09-30 19:05:38 +00:00
Vladimir Prus
62adc78a70
Adjust Qt4 example test
...
[SVN r39606]
2007-09-29 18:21:49 +00:00
Vladimir Prus
49e9219a61
Adjust boostbook test for boostbook changes. It
...
seems that doxygen target now produces a target
with different name, and it does not produce
any target unless there's explicit dependency
on it. I'm not sure I like the change, but
anyway.
[SVN r39605]
2007-09-29 18:17:27 +00:00
Vladimir Prus
9af56e0e97
Don't run gcc_runtime test on msvc
...
[SVN r39197]
2007-09-11 19:36:48 +00:00
Vladimir Prus
de592346b0
* 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
3bac4643ae
Don't try to apply --build-dir to standalone projects.
...
Fixes build_dir test failure on linux.
[SVN r39194]
2007-09-11 19:16:06 +00:00
Vladimir Prus
f09fd1a197
Record failure reason when we fail to open a file.
...
[SVN r39169]
2007-09-08 17:10:26 +00:00
Vladimir Prus
3fac77c14d
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
8edaa3e0f1
Print test results summary at the end
...
[SVN r39166]
2007-09-08 00:26:18 +00:00
Vladimir Prus
a14761fd47
Fix remove_requirements test. I have no idea how
...
it could have passed as-is.
[SVN r39165]
2007-09-08 00:15:23 +00:00
Vladimir Prus
259e5a2843
Implement --ignore-toolset-requirements and set in
...
during testing.
[SVN r39164]
2007-09-07 23:59:54 +00:00
Vladimir Prus
bb89e5142f
Make it work
...
[SVN r39163]
2007-09-07 23:59:10 +00:00
Vladimir Prus
7fd3402b2f
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
7663d860e2
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
Vladimir Prus
f9feb61242
Unbreak the gcc_runtime test
...
[SVN r39121]
2007-09-04 20:29:56 +00:00
Vladimir Prus
692f1fc20a
Allow to print the tree delta to any file.
...
[SVN r39120]
2007-09-04 20:26:19 +00:00
Vladimir Prus
aef14d8748
Make free features on the command line affect all targets,
...
not just directly requested ones.
Fixes #985 .
[SVN r39104]
2007-09-01 21:46:09 +00:00
Vladimir Prus
4f5947ca91
Fix glob excludes in subdirectories.
...
Thanks to Norbert Unterberg for the bug report.
[SVN r39103]
2007-09-01 20:28:42 +00:00
Rene Rivera
013107971f
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
4d930c37a0
Use some wildcard matching on the expected output as 'echo' on Windows outputs extra space before EOLs, which Unix doesn't.
...
[SVN r38965]
2007-08-26 16:16:38 +00:00
Rene Rivera
a25f561bab
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
93e6b9079d
On Windows static libs have the lib prefix, but DLLs don't.
...
[SVN r38918]
2007-08-25 04:08:28 +00:00
Rene Rivera
ecb07db688
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
3ed67f237e
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
01a0c753da
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
8b4fe19de1
Trow ValueError exception from remove functions to match the set.remove functionality.
...
[SVN r38688]
2007-08-15 17:25:46 +00:00
Vladimir Prus
604c249e55
Stop BoostBuild.py from crashing on certain test failures.
...
[SVN r38593]
2007-08-11 05:15:54 +00:00
Rene Rivera
f2eff70b4c
Catch a few more Python errors while testing.
...
[SVN r38306]
2007-07-30 00:09:52 +00:00
Vladimir Prus
3fae00b0a0
New project rule 'glob-tree'.
...
[SVN r36161]
2006-11-23 09:25:16 +00:00
Vladimir Prus
9fd7a6eba9
Make the 'glob' rule accept the patterns to exclude.
...
[SVN r36159]
2006-11-23 09:01:47 +00:00
Vladimir Prus
fe44e60b28
Handle indirect conditional properties in usage requirements
...
[SVN r36145]
2006-11-22 09:36:45 +00:00
Vladimir Prus
6488ce31d9
Enable pch test on msvc
...
[SVN r36143]
2006-11-22 09:33:07 +00:00
Vladimir Prus
ab4d1b8b99
Robustify the test
...
[SVN r36078]
2006-11-18 19:11:53 +00:00
Vladimir Prus
9ab60ec835
Revive some more tests
...
[SVN r35968]
2006-11-10 07:40:42 +00:00
Vladimir Prus
568b9e9d42
Test that project's path requirements can be removed by a main target.
...
[SVN r35923]
2006-11-08 09:59:42 +00:00
Vladimir Prus
5c57d836b6
Don't emit any messages when <build>no is in properties.
...
[SVN r35921]
2006-11-08 09:07:01 +00:00
Vladimir Prus
c4ea7d28c2
Fix thinko
...
[SVN r35919]
2006-11-08 08:42:55 +00:00
Vladimir Prus
c10a1de178
Unbreak rebuilds.py
...
[SVN r35918]
2006-11-08 08:42:12 +00:00
Vladimir Prus
6851604c0e
Robustify Tester.expect_content
...
[SVN r35917]
2006-11-08 08:37:28 +00:00
Vladimir Prus
7c96b542f0
Unbreak notfile.py
...
[SVN r35916]
2006-11-08 08:36:02 +00:00
Rene Rivera
5b5b339cf1
Add copyrights+license (with help of a shell script).
...
[SVN r35861]
2006-11-06 01:44:13 +00:00
Rene Rivera
602b6d8b13
Add/update copyrights+license (with help of a shell script).
...
[SVN r35856]
2006-11-05 18:13:42 +00:00
Rene Rivera
c5859fe13c
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
da98fd5c48
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
Rene Rivera
3b9a41e48f
Adjust to make test pass on Windows.
...
[SVN r35723]
2006-10-24 16:32:31 +00:00
Vladimir Prus
3b4cca1b35
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
188d417514
Fix for msvc
...
[SVN r35533]
2006-10-10 07:48:33 +00:00
Vladimir Prus
90f7514eb8
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
Jürgen Hunold
602eb9e5a2
Added missing/changed to Boost Software license.
...
Changed tests to use qt3 toolset.
[SVN r35399]
2006-09-28 19:00:12 +00:00
Vladimir Prus
0df12c504b
Test for 'cancel requirement' feature
...
[SVN r35169]
2006-09-18 19:56:19 +00:00
Daniel James
2dbf44f8c5
Merge tab removal.
...
[SVN r34995]
2006-08-29 20:59:37 +00:00
Vladimir Prus
2a1beb0e9e
Correct paths
...
[SVN r34622]
2006-07-20 08:55:13 +00:00
Vladimir Prus
deac4d9335
Fix expectations.
...
[SVN r34616]
2006-07-20 08:09:50 +00:00
Vladimir Prus
3b121523c5
Pass pass to BoostBook XSL. Remove broken configuration of msvc.
...
[SVN r34612]
2006-07-20 07:31:21 +00:00
Vladimir Prus
f56c300b23
Revert the path for preserving relative names of sources, since it breaks
...
UBLAS tests. Will reconsider later.
[SVN r34233]
2006-06-08 05:31:39 +00:00
Vladimir Prus
aafe2d6065
Try to preserve relative paths in sources.
...
Based on a patch from Ryan Gallagher.
[SVN r34062]
2006-05-23 14:21:58 +00:00
Vladimir Prus
e76518b57a
Fix a bug that prevented parent attributes from being inherited.
...
[SVN r33995]
2006-05-18 09:15:03 +00:00
Vladimir Prus
0bd46dfddf
Windows fixed
...
[SVN r33813]
2006-04-25 15:20:30 +00:00
Vladimir Prus
9de5f9cf51
Create 'failed_test' dir only if test fails
...
[SVN r33812]
2006-04-25 14:54:32 +00:00
Vladimir Prus
5b65d0b342
Windows fixes
...
[SVN r33811]
2006-04-25 14:46:15 +00:00
Vladimir Prus
52b6d2cb23
Windows fixes
...
[SVN r33810]
2006-04-25 14:29:21 +00:00
Vladimir Prus
f78581a75e
Windows fixes
...
[SVN r33809]
2006-04-25 13:45:30 +00:00
Vladimir Prus
c6622eadc1
Windows fixes
...
[SVN r33808]
2006-04-25 13:11:25 +00:00
Vladimir Prus
f4790c1838
Ignore msvc 8.0 manifests.
...
[SVN r33807]
2006-04-25 13:10:03 +00:00
Vladimir Prus
2a544062f5
Prevent --clean from deleting files that were used as sources of 'cast'.
...
[SVN r33792]
2006-04-24 13:59:41 +00:00
Vladimir Prus
06adc0f63b
Tests for more examples.
...
[SVN r33656]
2006-04-11 07:25:48 +00:00
Vladimir Prus
b31d716fb7
Add a couple of tests for examples.
...
[SVN r33637]
2006-04-10 13:05:26 +00:00
Vladimir Prus
3a4cbec7b3
Revive boostbook.py tests, working around BoostBook dislike of classes
...
outside of any namespaces.
[SVN r33636]
2006-04-10 12:48:43 +00:00
Vladimir Prus
b48dc6225f
Test that 'unit-test' will find searched libraries.
...
[SVN r33624]
2006-04-10 07:29:30 +00:00
Vladimir Prus
9a0d3bb3f7
Try to improve diagnostics when no alternative can be found.
...
[SVN r33586]
2006-04-07 11:06:21 +00:00
Vladimir Prus
258dca128a
Check that the value of the <tag> feature may be local rule name,
...
not fully-qualified.
[SVN r33168]
2006-02-28 07:22:47 +00:00
Vladimir Prus
f3c3972678
Allow <name> work for 'install', when there's a single source
...
[SVN r33064]
2006-02-21 13:08:53 +00:00
Vladimir Prus
4a6b0fa146
Another attempt to workaround warning on HP-CXX.
...
[SVN r32894]
2006-02-13 13:33:27 +00:00
Vladimir Prus
f5fe6d378c
Rename 'lib c' to 'lib cc' because HP-CXX compiler confuses 'libc.so' with
...
the system C runtime library.
[SVN r32891]
2006-02-13 12:29:57 +00:00
Vladimir Prus
53787a5e2e
Attempt to suppress a warning
...
[SVN r32887]
2006-02-13 10:56:47 +00:00
Vladimir Prus
f1d1f6d3a4
Fix a problem where <implicit-dependency> had no effect unless
...
the target named by the property was also build (by virtue of being in
the same Jamfile and not marked as "explicit").
[SVN r32885]
2006-02-13 10:34:45 +00:00
Vladimir Prus
b09996a61d
Add a test that <source> in 'lib' works even if there's no explicit sources.
...
[SVN r32882]
2006-02-13 07:51:33 +00:00
Rene Rivera
6037f6d6ec
Adjust Boost.Jam references to new root/tools/jam location.
...
[SVN r32873]
2006-02-12 23:18:46 +00:00
Markus Schöpflin
4b965217d4
Added Tru64 support.
...
[SVN r32809]
2006-02-10 16:05:26 +00:00
Vladimir Prus
bbc7f3f253
For
...
bjam --clean some_main_target
don't clean files belonging to other main targets, even if those other main
targets are dependencies of 'some_main_target'.
[SVN r32760]
2006-02-09 09:42:52 +00:00
Vladimir Prus
3bec6c2038
Change the --clean option to only clean targets under references projects.
...
Add the --clean-all option to clean everything.
[SVN r32739]
2006-02-08 15:24:31 +00:00
Vladimir Prus
ec4b485eea
Forgotten change to inline.py.
...
This was supposed to go together with "ignore suffix of main target name"
patch.
[SVN r32724]
2006-02-08 09:30:43 +00:00
Vladimir Prus
aea0397977
Unbreak 'make_test.py'. Adjust it to not use extra argument to the rule passed
...
to 'make', sine it's no longer supported.
Allow to call 'flags' on local rule. Use flag settings on local rule to
implement the effect previously achieved with extra arguments.
[SVN r32723]
2006-02-08 09:29:35 +00:00
Vladimir Prus
79d7a448aa
Allow typed main targets to have arbitrary suffix in the name, that does not
...
affect the names of the generated targets and only usefull for preventing
V2 from treating two independent targets as target alternatives.
[SVN r32720]
2006-02-08 08:06:31 +00:00
Vladimir Prus
3d42d08c00
Implement <build>no.
...
[SVN r32708]
2006-02-07 13:46:02 +00:00
Vladimir Prus
ec4969db72
Implement 'indirect conditional requirements', which are simular to V1's
...
convention that rules used in requiremenst are called to provide extra features.
[SVN r32694]
2006-02-07 10:26:17 +00:00
Vladimir Prus
28b4646662
Make the 'explicit' rule always operate on the current project.
...
[SVN r32654]
2006-02-06 15:26:56 +00:00
Vladimir Prus
61cb30494f
Fix "depends on itself" warning emitted when there were directory and
...
a file with the same name.
[SVN r32433]
2006-01-27 11:10:39 +00:00
Vladimir Prus
32d9796a3e
Add a test for the "bjam foo.o" feature.
...
[SVN r32429]
2006-01-27 10:34:58 +00:00
Vladimir Prus
042c7dc35a
When resolving target id, first look for target in Jamfile, then for
...
file in current dir. This partially reverts rev 1.117 of build/targets.jam.
See test for further explanations.
[SVN r32377]
2006-01-23 09:41:18 +00:00
Vladimir Prus
82b01caeb7
Update the test template.
...
[SVN r32376]
2006-01-23 09:24:26 +00:00
Vladimir Prus
33490566f5
Serious bugfix: for <include> properties with absolute pathnames on
...
windows, we ignored dependencies to headers in those directories.
This change is a quick fix, a better fix will follow later.
[SVN r32375]
2006-01-23 08:18:48 +00:00
Vladimir Prus
21292094e5
Supposedly make library_chain.py work on Windows.
...
The issue is that when with new response files the names of libraries we're
trying to link to is not emitted with "bjam -n", so remove "-n" and explicitly
look in response files.
[SVN r32341]
2006-01-17 09:32:57 +00:00
Vladimir Prus
190b0a3ba4
When installing .cpp files, don't scan them for #includes. It's pointless,
...
we don't compile.
Thanks to Franz Schnyder for the bug report.
[SVN r31756]
2005-11-23 16:10:41 +00:00
Vladimir Prus
0e388de77d
Unbreak project_test4
...
[SVN r31646]
2005-11-14 14:38:23 +00:00
Vladimir Prus
70758d42ea
Unbreak generators_test:
...
- rename UI type to TUI to avoid conflicts with Qt
- adjust to print.text changes
[SVN r31645]
2005-11-14 14:36:45 +00:00
Vladimir Prus
ab09f7e894
Unbreak dependency_test. It was used print.echo-cmd that got removed recently.
...
[SVN r31644]
2005-11-14 14:25:15 +00:00
Vladimir Prus
0ce6fd48a6
Adjust tests to the fact that print.text no longer implicitly adds newline.
...
[SVN r31643]
2005-11-14 13:38:49 +00:00
Vladimir Prus
9cf5bcdf29
Revive the project_test3 test.
...
[SVN r31035]
2005-09-19 08:49:50 +00:00
Vladimir Prus
ea9da6b91c
Fix a link failure on Unix for a main -> libb -> liba scenario,
...
where libb is a target in Boost.Build and liba is a file referred to by name.
[SVN r30590]
2005-08-16 10:58:22 +00:00
Vladimir Prus
3db370a9e4
Fix using of 'glob' in project root rules.
...
There were two problems:
- 'glob' was using __name__ as the name of the project and not
project.current, so it would search in project root, and not in child
project that inherited project root rules.
- the 'import' that's overrided in project context used __name__ to
restore the value of current project
Thanks to Emil Dotchevski for the bug report.
[SVN r30507]
2005-08-08 09:31:39 +00:00
Vladimir Prus
24fa408e3f
Unbreak " lib a ; " syntax.
...
Thanks to Craig Rodrigues for the bug report.
[SVN r30309]
2005-07-29 12:00:40 +00:00
Vladimir Prus
cda0cf3306
Ignore some files in CVS operations
...
[SVN r30307]
2005-07-29 08:42:42 +00:00
Dave Abrahams
26ec6c1206
Fix copyright and documentation
...
[SVN r30219]
2005-07-22 18:46:20 +00:00
Vladimir Prus
08b36b749e
Unbreak <install-source-root> when building from subdirectories.
...
[SVN r29803]
2005-06-27 12:19:50 +00:00
Vladimir Prus
6e5772545e
Add the 'notfile' target.
...
[SVN r29606]
2005-06-16 08:24:01 +00:00
Vladimir Prus
fa7edfe511
Automatically prepend "lib" prefix to LIB targets on Unix.
...
[SVN r29602]
2005-06-16 07:24:16 +00:00
Vladimir Prus
792cf4ac64
Allow "bjam some_directory" to work even if there's no Jamfile in ".".
...
[SVN r29588]
2005-06-15 13:26:37 +00:00
Vladimir Prus
1b9681a9ed
Correct license text
...
[SVN r29587]
2005-06-15 13:19:07 +00:00
Vladimir Prus
43994ac2eb
Rename link-runtime to runtime-link to stay compatible with V1.
...
[SVN r29586]
2005-06-15 12:24:06 +00:00