def twalk(): lotnicza = True stara_lotnicza = False #wersja z laptopa (zmodyfikowana lekutko do nowych testow na lotniczej): VIEW = "MAREK_PORTA" full_vobs_dir = "/view/" + VIEW + "/vobs" if lotnicza: full_vobs_dir = "/home/marek\.langiewicz/tmp/walktest/vobs" porta_alternative = "$|(_tools)|(_kernel($|(_2_4_31)))" alternative = "$|(/components)|(/common_software)|(/danube_tc)|(/porta(" + porta_alternative + "))" exclude = "^((?!"+ full_vobs_dir +")|(" + full_vobs_dir + "(?!" + alternative + ")))" #exclude = "((.*/){9})|(lost\\+found)|(" + exclude + ")" exclude = "(lost\\+found)|(" + exclude + ")" if stara_lotnicza: #wersja ze starych testow na lotniczej (mniejwiecej) #full_vobs_dir = "/view/" + VIEW + "/vobs" full_vobs_dir = "/home/marek.langiewicz/tmp/walktest/vobs" porta_alternative = "$|(_tools)|(_kernel($|(_2_4_31)))" alternative = "$|(/components)|(/common_software)|(/danube_tc)|(/porta(" + porta_alternative + "))" exclude = "^((?!"+ full_vobs_dir +")|(" + full_vobs_dir + "(?!" + alternative + ")))" exclude = "((.*/){8})|(lost\\+found)|(" + exclude + ")" common.walk_exclude("/home/langiewi_m/tmp/walktest/", walk_test, "niewazne", exclude) exclude = "a^" common.walk_exclude("/home/langiewi_m/tmp/walktest/vobs/porta/sw/develop/source/siemens/applications/html", walk_test, "niewazne", exclude)
def twalk(): lotnicza = True stara_lotnicza = False #wersja z laptopa (zmodyfikowana lekutko do nowych testow na lotniczej): VIEW = "MAREK_PORTA" full_vobs_dir = "/view/" + VIEW + "/vobs" if lotnicza: full_vobs_dir = "/home/marek\.langiewicz/tmp/walktest/vobs" porta_alternative = "$|(_tools)|(_kernel($|(_2_4_31)))" alternative = "$|(/components)|(/common_software)|(/danube_tc)|(/porta(" + porta_alternative + "))" exclude = "^((?!" + full_vobs_dir + ")|(" + full_vobs_dir + "(?!" + alternative + ")))" #exclude = "((.*/){9})|(lost\\+found)|(" + exclude + ")" exclude = "(lost\\+found)|(" + exclude + ")" if stara_lotnicza: #wersja ze starych testow na lotniczej (mniejwiecej) #full_vobs_dir = "/view/" + VIEW + "/vobs" full_vobs_dir = "/home/marek.langiewicz/tmp/walktest/vobs" porta_alternative = "$|(_tools)|(_kernel($|(_2_4_31)))" alternative = "$|(/components)|(/common_software)|(/danube_tc)|(/porta(" + porta_alternative + "))" exclude = "^((?!" + full_vobs_dir + ")|(" + full_vobs_dir + "(?!" + alternative + ")))" exclude = "((.*/){8})|(lost\\+found)|(" + exclude + ")" common.walk_exclude("/home/langiewi_m/tmp/walktest/", walk_test, "niewazne", exclude) exclude = "a^" common.walk_exclude( "/home/langiewi_m/tmp/walktest/vobs/porta/sw/develop/source/siemens/applications/html", walk_test, "niewazne", exclude)
| (/danube_tc) | ( /porta ( $ | (_tools) | (_kernel) ( $ | (_2_4_31) ) ) ) ) ) ) """ #full_vobs_dir = "/view/" + VIEW + "/vobs" full_vobs_dir = "/home/langiewi_m/tmp/walktest/vobs" porta_alternative = "$|(_tools)|(_kernel($|(_2_4_31)))" alternative = "$|(/components)|(/common_software)|(/danube_tc)|(/porta(" + porta_alternative + "))" exclude = "^((?!"+ full_vobs_dir +")|(" + full_vobs_dir + "(?!" + alternative + ")))" exclude = "((.*/){8})|(lost\\+found)|(" + exclude + ")" common.walk_exclude("/home/langiewi_m/tmp/walktest/", test_walk, "dupa", exclude)
(/danube_tc) | ( /porta ( $ | (_tools) | (_kernel) ( $ | (_2_4_31) ) ) ) ) ) ) """ #full_vobs_dir = "/view/" + VIEW + "/vobs" full_vobs_dir = "/home/langiewi_m/tmp/walktest/vobs" porta_alternative = "$|(_tools)|(_kernel($|(_2_4_31)))" alternative = "$|(/components)|(/common_software)|(/danube_tc)|(/porta(" + porta_alternative + "))" exclude = "^((?!" + full_vobs_dir + ")|(" + full_vobs_dir + "(?!" + alternative + ")))" exclude = "((.*/){8})|(lost\\+found)|(" + exclude + ")" common.walk_exclude("/home/langiewi_m/tmp/walktest/", test_walk, "dupa", exclude)