Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-01-05 13:37:16


David Abrahams wrote:
> David Abrahams <dave_at_[hidden]> writes:
>
>
>>I am seeing this when I run the tests locally:
>>
>>bash -c "cd /cygdrive/c/boost/tools/build/test ; python test_all.py"
>>File bin/gcc/debug/a not added as expected
>>FAILED test of c:\boost\tools\build\test\..\jam_src\bin.ntx86\bjam -sBOOST_BUILD_PATH=c:\boost\tools\build\test\..\new -d0 --quiet
>> at line 249 of BoostBuild.py (expect_addition)
>> from line 10 of generators_test.py
>> from line 22 of test_all.py
>>
>>I believe this is because it's called "a.exe" under Windows :(
>
>
> OK, I fixed that, and now I'm seeing:
>
> File bin/gcc/debug/a.o not added as expected
> FAILED test of c:\boost\tools\build\test\..\jam_src\bin.ntx86\bjam -sBOOST_BUILD_PATH=c:\boost\tools\build\test\..\new -d0 --quiet
> at line 254 of BoostBuild.py (expect_addition)
> from line 13 of generators_test.py
>
> At the point of the error, this is what's in the directory:
>
> ./bin/gcc/debug:
> total 25
> -rwxrwxrwx 1 Administ None 21015 Jan 5 13:19 e.exe
> -rw-rw-rw- 1 Administ None 0 Jan 5 13:19 e.marked.cpp
> -rw-rw-rw- 1 Administ None 2112 Jan 5 13:19 e.o
> -rw-rw-rw- 1 Administ None 0 Jan 5 13:19 e.positions
> -rwx------ 1 Administ None 24 Jan 5 13:19 e.target.cpp
>
> No a.o. I'm stumped. Should it be there?
>

Here's what I get:

bash-2.05a$ PRESERVE=1 ./generators_test.py
Preserved directory /tmp/testcmd.0
bash-2.05a$ ls -r /tmp/testcmd.0/bin/gcc/debug
y.x2 x.o f e.marked.cpp d_parser.lr0
d_lexer.cpp b.o
y.x1 x.c e.target.cpp e d_parser.cpp c.o
a.o
y.o main-target-obj_2 e.positions d_parser.whl d_lexer.o c.h a
y.cpp main-target-obj_1 e.o d_parser.o d_lexer.dlp c.cpp

I see "a.o" here. Did you look at preserved test directory and found no
"a.o" there?

- Volodya

 


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