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

5297 Commits

Author SHA1 Message Date
Jurko Gospodnetić
8a1d75c554 Made the generators_test.py Boost Build test more detailed.
[SVN r78962]
2012-06-15 22:46:27 +00:00
Jurko Gospodnetić
69e5c077cf 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ć
80779fe249 Minor stylistic changes.
[SVN r78960]
2012-06-15 19:20:21 +00:00
Jurko Gospodnetić
dc55813def Minor stylistic changes.
[SVN r78959]
2012-06-15 19:13:27 +00:00
Jurko Gospodnetić
b2a4fe3006 Added a few new internal unit tests for Boost Build's utility.unquote() rule.
[SVN r78957]
2012-06-15 15:29:24 +00:00
Jurko Gospodnetić
a94b783f8f End-user error message in Boost Jam based Boost Build utility.ungrist() rule did not correspond to the actual rule's implementation. It implied that the value '<>' should be acceptable while it was not. Python based Boost Build implementation on the other hand accepted such values. Updated the original rule to accept this value as well.
[SVN r78956]
2012-06-15 15:17:51 +00:00
Jurko Gospodnetić
313718cdb9 Corrected a badly formed end-user error message in Boost Build's utility.jam module.
[SVN r78955]
2012-06-15 15:11:19 +00:00
Jurko Gospodnetić
d0ba7c3193 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ć
fff3fe12d5 Minor stylistic changes.
[SVN r78951]
2012-06-15 06:52:28 +00:00
Jurko Gospodnetić
274343ac76 Comment typo correction. Trimmed trailing spaces.
[SVN r78950]
2012-06-15 06:04:53 +00:00
Jurko Gospodnetić
bf292f966c 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ć
7f0db73ee3 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ć
80aabf68ac Minor stylistic changes made to Boost Build's startup_v2.py test.
[SVN r78944]
2012-06-14 12:19:13 +00:00
Jurko Gospodnetić
ac6c3f6b5a Added an import missing in case some conditional tests listed in the class.jam Boost Build module's __test__() testing rule are enabled.
[SVN r78933]
2012-06-14 07:31:15 +00:00
Jurko Gospodnetić
3dc8ee0379 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ć
347d39005c 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ć
344db3edc1 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ć
76fc90f65a 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ć
77ff2a2baa 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ć
26b7501471 Minor Boost Build configuration.py test cleanup.
[SVN r78914]
2012-06-12 23:55:54 +00:00
Jurko Gospodnetić
3447aae32b Cleaned up the Boost Build testing framework implementation a bit.
[SVN r78913]
2012-06-12 23:51:47 +00:00
Jurko Gospodnetić
4a0e96a07a Removed temporary '--plinky-plonky' Boost Build debugging code.
[SVN r78906]
2012-06-12 08:11:48 +00:00
Jurko Gospodnetić
badabe691c Minor stylistic change.
[SVN r78904]
2012-06-11 23:54:11 +00:00
Jurko Gospodnetić
1855af37fa Corrected a bug in the Python Boost Build implementation causing its command-line parsing to fail when given an empty-string command-line parameter.
[SVN r78903]
2012-06-11 23:37:53 +00:00
Jurko Gospodnetić
a4bc299d04 Made Boost Build ignore any received empty command-line arguments that it previously interpreted as targets. This was causing Boost Build test failures (rule path.make-UNIX called with an empty parameter) on many non-Windows platforms where empty parameters are not automatically stripped by the OS or the used Python process call implementation.
[SVN r78902]
2012-06-11 23:36:26 +00:00
Jurko Gospodnetić
10bb185d92 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ć
9f42a0ed58 Minor sylistic changes - trimmed trailing spaces.
[SVN r78890]
2012-06-11 12:54:29 +00:00
Jurko Gospodnetić
357962c2f3 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ć
f2fa5efbd4 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ć
e9326dbbfa 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ć
4f7b5358b7 Minor stylistic changes.
[SVN r78884]
2012-06-11 02:09:24 +00:00
Jurko Gospodnetić
e4fd12cc48 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ć
ebfad57a2f 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ć
0d27623e84 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ć
7b22c43f18 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ć
5ac2b08afd Comment typo correction.
[SVN r78879]
2012-06-11 01:47:08 +00:00
Jurko Gospodnetić
d11b4fdde1 Minor stylistic cleanup in the main Boost Build test runner script.
[SVN r78878]
2012-06-11 01:46:24 +00:00
Jurko Gospodnetić
8252c7ad28 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
K. Noel Belcourt
3d7cdbc654 Fix off by one error that resulted in less than the
full amount of target output being output to the user.



[SVN r78874]
2012-06-10 23:05:25 +00:00
Jurko Gospodnetić
3c37ad63e7 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ć
9f67489dce 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ć
e078b977b6 Minor stylistic changes.
[SVN r78870]
2012-06-10 16:02:02 +00:00
Jurko Gospodnetić
c673617df2 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ć
c668b36282 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ć
db9fbe17bf 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ć
d094bde508 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ć
b233fd743c Minor stylistic configuration.py Boost Build test changes.
[SVN r78864]
2012-06-09 22:58:35 +00:00
Jurko Gospodnetić
184ac58165 Minor stylistic changes. Removed some minor code duplication.
[SVN r78862]
2012-06-09 07:28:42 +00:00
K. Noel Belcourt
9ccc28c59c Handle signals causing early returns from select
and waitpid.  Should fix FreeBSD reported problem.



[SVN r78861]
2012-06-09 00:21:03 +00:00
Jurko Gospodnetić
33fb05665d 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