Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-27 10:56:51


Vladimir Prus <ghost_at_[hidden]> writes:

> David Abrahams wrote:
>
>> OK, patched... :(
>>
>> cd c:/boost/tools/build/test/
>> python dependency_test.py msvc-6.5
>> File bin/msvc-6.5/debug/a.obj not touched as expected
>> Added files : []
>> Removed files : []
>> Modified files: ['bin/msvc-6.5/debug/a.exe', 'bin/msvc-6.5/debug/a.exp',
>> 'bin/msvc-6.5/debug/a.lib', 'bin/msvc-6.5/debug/a.obj',
>> 'bin/msvc-6.5/debug/b.exe', 'bin/msvc-6.5/debug/b.obj',
>> 'bin/msvc-6.5/debug/main-target-c/c.exe'] Touched files :
>> ['bin/msvc-6.5/debug/a.pdb', 'bin/msvc-6.5/debug/a.rsp',
>> 'bin/msvc-6.5/debug/b.pdb', 'bin/msvc-6.5/debug/b.rsp',
>> 'bin/msvc-6.5/debug/main-target-c/c.pdb'] FAILED test of
>> c:\boost\tools\build\test\..\jam_src\bin.ntx86\bjam
>> -sBOOST_BUILD_PATH=c:\boost\tools\build\test\..\new;c:\boost\tools\build\te
>>st -d0 --quiet msvc-6.5 at line 288 of BoostBuild.py (fail_test)
>> from line 351 of BoostBuild.py (expect_touch)
>> from line 22 of dependency_test.py
>
> Heh.... I expect a.obj to be recompiled (and change only timestamp), but for
> some reason, contents changes as well. I wonder if msvc compiler embeds
> timestamp into generated obj files. Probably we should just drop
> touched/modified distinction for tests.

At some point I think we may want to be able to check that touching a
file without modifying it doesn't cause rebuilding of dependencies.
Will killing that distinction make it impossible (think hard, so far I
don't think it will)?

If so, the answer might be to have another test which is
"touched-or-modified, I don't care which".

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk