Skip to content

Commit

Permalink
modified: tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Langiewicz committed Jul 13, 2010
1 parent e9b2e15 commit 8085ca4
Showing 1 changed file with 71 additions and 1 deletion.
72 changes: 71 additions & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,76 @@ def test_walk(arg, dir, files):
include_porta_vobs = "porta(_(kernel(_2_4_31)?)|(tools))?"
include_vobs = "(common_software)|(components)|(danube_tc)|(" + include_porta_vobs + ")"
exclude = "/view/" + VIEW + "/vobs/(?!(" + include_vobs + ")).+"
print exclude
exclude = "(.*/.*/.*/.*/.*/.*/.*/.*/.*/.*)|(" + exclude + ")"
cc2git_common.walk_exclude("/home/langiewi_m/tmp/walktest/", test_walk, "dupa", exclude)
#cc2git_common.walk_exclude("/home/langiewi_m/tmp/walktest/", test_walk, "dupa", exclude)


"""
view/gjsdfkljsd
view/MAREK_PORTA/vla
x view/MAREK_PORTA/vobs
x view/MAREK_PORTA/vobs/components
x view/MAREK_PORTA/vobs/common_software
x view/MAREK_PORTA/vobs/danube_tc
x view/MAREK_PORTA/vobs/porta
x view/MAREK_PORTA/vobs/porta_kernel
x view/MAREK_PORTA/vobs/porta_kernel_2_4_31
x view/MAREK_PORTA/vobs/porta_tools
view/MAREK_PORTA/vobs/dupa
/view/MAREK_PORTA/vobs/(?!((common_software)|(components)|(danube_tc)|(porta(_(kernel(_2_4_31)?)|(tools))?))).+
(?!
view/MAREK_PORTA/vobs
(
/
(
(components)|
(common_software)|
(danube_tc)|
(
porta(
(_kernel(_2_4_31)?)|
(_tools)
)?
)
)
)?
)
(
(?!
/view/MAREK_PORTA/vobs
)
|
/view/MAREK_PORTA/vobs
(?!
(
$
|
(/components)
|
(/common_software)
|
(/danube_tc)
|
(
/porta
(
$
|
(_tools)
|
(_kernel)
(
$
|
(_2_4_31)
)
)
)
)
)
)
"""/view/MAREK_PORTA/vobs/(?!((common_software)|(components)|(danube_tc)|(porta(_(kernel(_2_4_31)?)|(tools))?))).+

0 comments on commit 8085ca4

Please sign in to comment.