summaryrefslogtreecommitdiffstats
path: root/bugscan.rb
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2016-01-14 02:31:40 +0100
committerDan Fandrich <dan@coneharvesters.com>2020-03-26 10:36:03 +0100
commit892c02f11fc9c6b05570bf05f846dd22146826d6 (patch)
tree48dbbeb3b30a526a333222809fee7f19bafbe98d /bugscan.rb
parent5a755132786d90fdd2aa883d90b40a7f2295cb9d (diff)
downloadautobuild-892c02f11fc9c6b05570bf05f846dd22146826d6.tar
autobuild-892c02f11fc9c6b05570bf05f846dd22146826d6.tar.gz
autobuild-892c02f11fc9c6b05570bf05f846dd22146826d6.tar.bz2
autobuild-892c02f11fc9c6b05570bf05f846dd22146826d6.tar.xz
autobuild-892c02f11fc9c6b05570bf05f846dd22146826d6.zip
Add scanning of build logs looking for known bugs
These can be displayed along with appropriate hyperlinks for more info on the results page.
Diffstat (limited to 'bugscan.rb')
-rw-r--r--bugscan.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/bugscan.rb b/bugscan.rb
new file mode 100644
index 0000000..4c6a2b0
--- /dev/null
+++ b/bugscan.rb
@@ -0,0 +1,13 @@
+# Regexes to match against the build log
+$bug_matches = {
+ "com\\.sun\\.tools\\.javac\\.Main is not on the classpath" => "err_javacmissing", # e.g. gnu-getopt
+ "Unable to find a javac compiler" => "err_javacmissing", # e.g. fmj
+ "role: org\\.apache\\.maven\\.Maven" => "err_maven", # e.g. XmlSchema
+ "required file './depcomp' not found" => "err_depcomp", # e.g. admesh
+ "depcomp: No such file or directory" => "err_depcomp", # e.g. asteroids3D
+ "aclocal-1.\\d+: command not found" => "err_oldautoconf", # e.g. argtable2
+ "Empty %files file.*\\.debugfiles.list" => "err_debuglist", # e.g. kon2
+ "Empty %files file.*\\.lang" => "err_findlang",
+ "Installed \\(but unpackaged\\) file\\(s\\) found" => "err_unpackagedfile", # e.g. flvtool2
+ "^ File not found:" => "err_packagedfilemissing",
+}