Skip to content

Instantly share code, notes, and snippets.

@rmcm
Created August 9, 2010 00:07
Show Gist options
  • Save rmcm/514712 to your computer and use it in GitHub Desktop.
Save rmcm/514712 to your computer and use it in GitHub Desktop.
QTestlib compile log
;; Add QTestlib regex to compile buffer parse - eg
;; FAIL! : testQmvSqlUtils::helloWorld() 'sm.rowCount() > 0' returned FALSE. ()
;; Loc: [test-qmvdbsettingsmodel.h(27)]
;;
(if (boundp 'compilation-error-regexp-alist-alist)
(progn
(add-to-list
'compilation-error-regexp-alist-alist
'(qt-test
"[\s]*FAIL![\s:]*\\([[:alnum:]:]*()\\)[\s]\\(.*\\)\n[\s]*Loc:[\s]*\\[\\(.*\\)(\\([0-9]*\\))"
3 4))
(add-to-list
'compilation-error-regexp-alist
'qt-test)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment