Commit Graph

14 Commits

Author SHA1 Message Date
Steven Watanabe
fa78d4fed7 Don't pass -d0, except for the tests that actually require it. Suppress global -d arguments for tests that check stdout or set -d explicitly. All tests now pass in verbose mode. 2017-12-26 13:25:40 -07:00
Jurko Gospodnetić
e7f4639032 Updated Boost Build's internal testing system to reduce wait times between successive build system runs depending on the supported path modification timestamp resolution. This reduces the total time needed to run the current test suite on one Windows PC from cca. 8 to cca. 6 minutes.
Additional consequences:
  * Makes the test system work correctly even should it ever be run with files stored on different file systems with different supported minimal path modification timestamp resolutions, e.g. NTFS (<1 ms) & FAT (2 sec).
  * When requesting a new file to be written with a large enough file modification timestamp, any missing folders created in the process are created with large enough modification timestamp as well.
  * Source paths with modification timestamps set too far in the future will now be reported as test environment errors instead of causing the test system to wait for some possibly long (all internal sleeps now limited to 5 seconds).

[SVN r79830]
2012-08-01 10:42:57 +00:00
Jurko Gospodnetić
89033604eb Minor stylistic comment update in the internal Boost Build rebuilds.py test.
[SVN r79784]
2012-07-28 14:12:39 +00:00
Jurko Gospodnetić
6c3df7cd71 Boost Build cleanup - minor stylistic changes.
[SVN r79739]
2012-07-25 07:25:12 +00:00
Jurko Gospodnetić
b828d3531b Updated the internal Boost Build rebuilds.py test to report additional debugging information in case of failure.
[SVN r79738]
2012-07-25 07:17:01 +00:00
Jurko Gospodnetić
89f26e148b Corrected the internal Boost Build rebuilds.py test to avoid incorrectly detected failures when a file to be rebuilt ('bar') gets rebuilt too quickly in one of the test cases (used to fail if the original file and the rebuilt file did not have file modification timestamps with the same second).
[SVN r79737]
2012-07-25 07:15:06 +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ć
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ć
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
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
c10a1de178 Unbreak rebuilds.py
[SVN r35918]
2006-11-08 08:42:12 +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
Dave Abrahams
72a5e80e64 jam_src/
builtins.{c,h}
        Support for the REBUILDS rule
        remove unused variable

    rules.h
    make.c
        Support for the REBUILDS rule

    make1.c
        Support for the REBUILDS rule

        Support for recording timing information

        Restructured a case statement because it was masking a bug I
        introduced.

    execcmd.h
    execnt.c
    execunix.c
        Support for recording timing information
        Also removed NT-specific stuff from execunix

    expand.c
        Removed tabs from critical comment
        Added tab-width variable setting comment for emacs.

v2/test
    rebuilds.py, timedata.py, test_all.py
        Tests for REBUILDS and timing.


[SVN r27334]
2005-02-12 02:30:18 +00:00