Rene Rivera
b032a8e514
Decode bytes output we can get from commands.
2019-03-31 18:24:27 -05:00
Rene Rivera
85e5a2caa8
Port b2 tests to dual py2 and py3.
...
Now that the tests work in py2 or p3 we don't set py version in AP. This
allows for dealing with the AP images that don't have a way to set the
py version.
2019-03-31 15:37:03 -05:00
Steven Watanabe
80c0f5f8d2
Tests for MI.
2017-03-30 13:24:09 -06:00
Steven Watanabe
7d7de34346
More testing. Fix some issues exposed by the new tests.
2016-02-20 18:30:55 -07:00
Steven Watanabe
5424ef24d4
Add tests and get break output to work in console mode.
2016-02-16 14:35:31 -07:00
Jurko Gospodnetić
a5287879b7
Internal Boost Build testing system cleanup - minor stylistic changes.
...
[SVN r79819]
2012-07-31 13:46:04 +00:00
Jurko Gospodnetić
343b4d6532
Updated the internal Boost Build testing system to use the Python subprocess module (introduced in Python 2.4) for running external processes instead of popen2 (deprecated since Python 2.6). We are already using Python 2.4 features in this codebase so there is no need to support Python releases older than 2.4.
...
Related changes:
* BoostBuild.Tester & TestCmd.TestCmd interfaces now accept external process parameters as a list of strings, thus avoiding problems with parsing arguments containing spaces.
* Avoided a potential process hang in case an external process being run prints out enough output to fill up the OS's pipe buffer (OS would pause the process until someone read the data from the pipe but the testing framework would not do this until the process in question had terminated).
[SVN r79448]
2012-07-12 12:55:25 +00:00
Jurko Gospodnetić
c5e5b5324e
Boost Build cleanup - minor stylistic internal Boost Build test script & testing system changes.
...
[SVN r79445]
2012-07-12 12:22:14 +00:00
Jurko Gospodnetić
1791d078cc
Boost Build/Jam cleanup - stylistic code changes.
...
[SVN r79244]
2012-07-03 15:58:26 +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
Steven Watanabe
b7d2e4d06c
Make unit-test handle paths containing spaces.
...
[SVN r78538]
2012-05-22 04:20:29 +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ć
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
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
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
Vladimir Prus
4f6a940409
Allow to specify directory where a test will be run.
...
Patch from Niklaus Giger.
[SVN r27975]
2005-04-05 11:21:52 +00:00
Dave Abrahams
6bc8613bab
Give a little feedback about the current directory when a test fails
...
[SVN r18571]
2003-05-27 23:59:03 +00:00
Vladimir Prus
443f59d114
Pass string to 'popen3', since it does not like lists.
...
[SVN r18179]
2003-04-04 07:50:36 +00:00
Vladimir Prus
d63f63a9fa
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
Dave Abrahams
954b6c9e00
Add verbosity options
...
[SVN r16803]
2003-01-08 20:11:15 +00:00
Vladimir Prus
650a824995
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
64d934d4a0
Test system tweaks.
...
* test/TestCmd.py: Cause the names of preserved directories to be
printed.
* test/test_system.html: Document "PRESERVE*" environmental variables
and "pass_test"/"fail_test" methods.
[SVN r14389]
2002-07-10 07:31:24 +00:00
Dave Abrahams
3605d8dc91
bug fix
...
[SVN r13695]
2002-05-06 20:59:53 +00:00
Vladimir Prus
42a8bf643f
Another attempt at replacing tabs with spaces.
...
[SVN r13409]
2002-04-09 07:48:35 +00:00
Vladimir Prus
21d6cd568e
Added new test system sources. Updated docs.
...
[SVN r13401]
2002-04-08 15:13:36 +00:00