зеркало из https://github.com/mozilla/gecko-dev.git
Added simple sanity checking of the dependencies table.
This commit is contained in:
Родитель
23a15eaea4
Коммит
1559d64635
|
@ -166,3 +166,21 @@ while (@row = FetchSQLData()) {
|
||||||
Alert("Bad who $who in " . BugLink($id));
|
Alert("Bad who $who in " . BugLink($id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Status("Checking dependency table");
|
||||||
|
|
||||||
|
SendSQL("select blocked, dependson from dependencies");
|
||||||
|
while (@row = FetchSQLData()) {
|
||||||
|
my ($blocked, $dependson) = (@row);
|
||||||
|
if (!defined $bugid{$blocked}) {
|
||||||
|
Alert("Bad blocked " . BugLink($blocked));
|
||||||
|
}
|
||||||
|
if (!defined $bugid{$dependson}) {
|
||||||
|
Alert("Bad dependson " . BugLink($dependson));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Status("Sanity check completed.");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче