List Info

Thread: globbing subdirectories with same file name




globbing subdirectories with same file name
user name
2006-05-20 09:59:01
Ryan Gallagher <ryan.gallagher <at> gmail.com>
writes:
[snip]
> Let me get the cvs source from the website, reapply
this patch and run
> your tests.
[snip]

While not everything is passing on my system for some
reason, the results
were the same before and after the change.  (example_make
failed to
finish due to a missing dll, but it appears to be the last
test anyhow.)

If you want, I'll see if I can get you some new test cases
to use for this.
Cheers,

-Ryan


test> python test_all.py msvc-7.1

Note: skipping extra tests
unit_tests                :  PASSED
---
c:\docume~1\ryan\locals~1\temp\tmpyqjregexpected	2006-0
5-20
01:17:16.632950400 -0700
+++
c:\docume~1\ryan\locals~1\temp\tmpafsp9yactual	2006-05-
20 01:17:16.632950400
-0700
 -1,9
+1,9 
-A.act t1:   X1-t1     
-B.act t1:   X1-t1   X2-B   
-act t1:   X1-t1   X2-global   X3-global 
-A.act t2:   X1-A   X2-t2   
-B.act t2:     X2-t2   
-act t2:   X1-global   X2-t2   X3-global 
-A.act t3:   X1-A     X3-t3 
-B.act t3:     X2-B   X3-t3 
-act t3:   X1-global   X2-global   X3-t3 
+A.act t1:  X1-t1    
+B.act t1:  X1-t1  X2-B  
+act t1:  X1-t1  X2-global  X3-global
+A.act t2:  X1-A  X2-t2  
+B.act t2:    X2-t2  
+act t2:  X1-global  X2-t2  X3-global
+A.act t3:  X1-A    X3-t3
+B.act t3:    X2-B  X3-t3
+act t3:  X1-global  X2-global  X3-t3
module_actions            :  Expected STDOUT ==========
A.act t1:   X1-t1     
B.act t1:   X1-t1   X2-B   
act t1:   X1-t1   X2-global   X3-global 
A.act t2:   X1-A   X2-t2   
B.act t2:     X2-t2   
act t2:   X1-global   X2-t2   X3-global 
A.act t3:   X1-A     X3-t3 
B.act t3:     X2-B   X3-t3 
act t3:   X1-global   X2-global   X3-t3 

Actual STDOUT ============
A.act t1:  X1-t1    
B.act t1:  X1-t1  X2-B  
act t1:  X1-t1  X2-global  X3-global
A.act t2:  X1-A  X2-t2  
B.act t2:    X2-t2  
act t2:  X1-global  X2-t2  X3-global
A.act t3:  X1-A    X3-t3
B.act t3:    X2-B  X3-t3
act t3:  X1-global  X2-global  X3-t3

DIFFERENCE
Unable to compute difference
FAILED
startup_v1                :  PASSED
startup_v2                :  PASSED
core_d12                  :  PASSED
core_typecheck            :  PASSED
core_delete_module        :  PASSED
core_varnames             :  PASSED
core_import_module        :  PASSED
rebuilds                  :  PASSED
timedata                  :  PASSED
project_test3             :  PASSED
project_test4             :  PASSED
generators_test           : 
"['C:\\Boost\\review\\boost-build\\test\\..
/jam_src\\bin.ntx86\\bjam',
'-sBOOST_BUILD_PATH=C:\\Boost\\review\\boost-build\
test', '-d0', '--quiet',
'msvc-7.1']" returned 1
STDOUT ============
a.cpp
b.cxx
z.cpp
z.cpp
c.cpp
"WD consuming" d.wd
...skipped <pbin\msvc-7.1\debug>d_parser.cpp for
lack of
<pbin\msvc-7.1\debug>d_parser.whl...
...skipped <pbin\msvc-7.1\debug>d_parser.obj for
lack of 
<pbin\msvc-7.1\debug-object(c-scanner)192>d_parser.cpp...
...skipped <pbin\msvc-7.1\debug>d_lexer.cpp for lack
of 
<pbin\msvc-7.1\debug>d_lexer.dlp...
...skipped <pbin\msvc-7.1\debug>d_lexer.obj for lack
of 
<pbin\msvc-7.1\debug-object(c-scanner)192>d_lexer.cpp...
x.c
"X_PRO: source is " y.x_pro
...skipped <pbin\msvc-7.1\debug>y.cpp for lack of
<pbin\msvc-7.1\debug>y.x1... 
...skipped <pbin\msvc-7.1\debug>y.obj for lack of 
<pbin\msvc-7.1\debug-object(c-scanner)192>y.cpp...
c.cpp
...skipped <pbin\msvc-7.1\debug>a.exe for lack of 
<pbin\msvc-7.1\debug>d_parser.obj...
"CPP-MARK consuming " e.cpp
...skipped <pbin\msvc-7.1\debug>e.target_cpp for
lack of 
<pbin\msvc-7.1\debug>e.marked_cpp...
...skipped <pbin\msvc-7.1\debug>e.obj for lack of 
<pbin\msvc-7.1\debug>e.target_cpp...
...skipped <pbin\msvc-7.1\debug>e.exe for lack of
<pbin\msvc-7.1\debug>e.obj...
...failed updating 5 targets...

STDERR ============

END ===============
FAILED
dependency_test           :  PASSED
path_features             :  PASSED
relative_sources          :  PASSED
no_type                   :  PASSED
chain                     :  PASSED
default_build             :  PASSED
use_requirements          :  PASSED
conditionals              :  PASSED
stage                     :  PASSED
prebuilt                  :  PASSED
project_dependencies      :  PASSED
build_dir                 :  PASSED
searched_lib              :  -------- all changes caused by
last build command
----------
Added files   : []
Removed files : []
Modified files: []
Touched files : []
STDOUT ============
...found 9 targets...
...updating 2 targets...
msvc.compile.c++ bin\msvc-7.1\debug\a.obj

    call "C:\Program Files\Microsoft Visual Studio
.NET
2003\Vc7\bin\vcvars32.bat"  >nul
cl /Zm800 -nologo -TP  /Z7 /Od /Ob0 /W3 /GR /MDd
/Zc:forScope /Zc:wchar_t /GB 
/Op /wd4675 /EHs  "bin\msvc-7.1\debug\a.obj.rsp" -c 
-Fo"bin\msvc-7.1\debug\a.obj"  

msvc.link bin\msvc-7.1\debug\a.exe

        call "C:\Program Files\Microsoft Visual
Studio .NET 
2003\Vc7\bin\vcvars32.bat"  >nul 
link /NOLOGO /DEBUG /subsystem:console
/out:"bin\msvc-7.1\debug\a.exe" 
/INCREMENTAL:NO   "bin\msvc-7.1\debug\a.exe.rsp"
        if exist
"bin\msvc-7.1\debug\a.exe.manifest" (
            mt -nologo -manifest
"bin\msvc-7.1\debug\a.exe.manifest" 
"-outputresource:bin\msvc-7.1\debug\a.exe;1"
        )
    
...updated 2 targets...

STDERR ============

END ===============
FAILED
make_rule                 :  PASSED
alias                     :  PASSED
alternatives              :  PASSED
default_features          :  PASSED
print                     :  PASSED
ndebug                    :  PASSED
explicit                  :  PASSED
absolute_sources          :  PASSED
dependency_property       :  PASSED
custom_generator          :  PASSED
bad_dirname               :  PASSED
c_file                    :  PASSED
inline                    :  PASSED
conditionals2             :  PASSED
property_expansion        :  PASSED
loop                      :  PASSED
conditionals3             :  PASSED
tag                       :  PASSED
suffix                    :  PASSED
inherit_toolset           :  PASSED
skipping                  :  PASSED
glob                      :  PASSED
project_root_constants    :  PASSED
double_loading            :  PASSED
dll_path                  :  PASSED
regression                :  PASSED
composite                 :  PASSED
library_chain             :  PASSED
unit_test                 :  PASSED
standalone                :  PASSED
expansion                 :  PASSED
wrapper                   :  PASSED
duplicate                 :  PASSED
library_property          :  PASSED
load_order                :  PASSED
wrong_project             :  PASSED
using                     :  PASSED
source_locations          :  PASSED
out_of_tree               :  PASSED
notfile                   :  PASSED
project_root_rule         :  PASSED
resolution                :  PASSED
build_file                :  PASSED
indirect_conditional      :  PASSED
build_no                  :  PASSED
disambiguation            :  PASSED
clean                     :  PASSED
lib_source_property       :  PASSED
implicit_dependency       :  PASSED
example_libraries         :  PASSED
example_make              : 


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
globbing subdirectories with same file name
user name
2006-05-22 07:04:10
On Saturday 20 May 2006 13:59, Ryan Gallagher wrote:
> Ryan Gallagher <ryan.gallagher <at>
gmail.com> writes:
> [snip]
>
> > Let me get the cvs source from the website,
reapply this patch and run
> > your tests.
>
> [snip]
>
> While not everything is passing on my system for some
reason, the results
> were the same before and after the change. 
(example_make failed to
> finish due to a missing dll, but it appears to be the
last test anyhow.)
>
> If you want, I'll see if I can get you some new test
cases to use for this.

In fact, I've did a testcase for this on Friday. Sorry for
not telling about 
this yet. I also have a slightly modified version of your
code integrated, 
and tests all pass. I'll see if I can commit this soon.

> test> python test_all.py msvc-7.1

I'll try to look at this later. 

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
globbing subdirectories with same file name
user name
2006-05-23 14:49:30
On Saturday 20 May 2006 13:59, Ryan Gallagher wrote:
> Ryan Gallagher <ryan.gallagher <at>
gmail.com> writes:
> [snip]
>
> > Let me get the cvs source from the website,
reapply this patch and run
> > your tests.
>
> [snip]
>
> While not everything is passing on my system for some
reason, the results
> were the same before and after the change. 
(example_make failed to
> finish due to a missing dll, but it appears to be the
last test anyhow.)
>
> If you want, I'll see if I can get you some new test
cases to use for this.
> Cheers,

Hi Ryan,
I've committed a revised version of your patch, together
with test. The 
important thing is that we check for ".." in
source path, and if it's there, 
strip the directory completely.

Can you get nightly build and check if things work as you
like?

Thanks,
Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )