Skip to content

Instantly share code, notes, and snippets.

@dhaley
Created January 5, 2015 17:36
Show Gist options
  • Save dhaley/6da11331b31821fa2d12 to your computer and use it in GitHub Desktop.
Save dhaley/6da11331b31821fa2d12 to your computer and use it in GitHub Desktop.
test/run.el '(language php)'
test/run.el '(language php)'
Running tests on Emacs 24.4.1, built at 2014-12-29
Loading /Users/dhaley/.emacs.d/site-lisp/flycheck/flycheck.el (source)...
Loading /Users/dhaley/.emacs.d/site-lisp/flycheck/flycheck-ert.el (source)...
Loading /Users/dhaley/.emacs.d/site-lisp/flycheck/test/flycheck-test.el (source)...
Running 4 tests (2015-01-05 10:35:24-0700)
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Test flycheck-define-checker/php-phpcs/standard backtrace:
c-get-lang-constant(c-matchers-2 (cc-fonts) php-mode)
(defconst php-font-lock-keywords-2 (c-get-lang-constant (quote c-mat
php-mode()
funcall(php-mode)
(progn (insert-file-contents file-name (quote visit)) (set-visited-f
(unwind-protect (progn (insert-file-contents file-name (quote visit)
(progn (unwind-protect (progn (insert-file-contents file-name (quote
(unwind-protect (progn (unwind-protect (progn (insert-file-contents
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
(let ((file-name (flycheck-ert-resource-filename resource-file))) (i
(let ((mode (car --dolist-tail--))) (if (fboundp mode) nil (ert-skip
(while --dolist-tail-- (let ((mode (car --dolist-tail--))) (if (fbou
(let ((--dolist-tail-- modes)) (while --dolist-tail-- (let ((mode (c
flycheck-ert-should-syntax-check("checkers/php.php" php-mode (21 20
(let ((flycheck-phpcs-standard "Zend") (flycheck-disabled-checkers (
(closure (python-indent-guess-indent-offset js3-mode-show-parse-erro
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\
ert-run-test([cl-struct-ert-test flycheck-define-checker/php-phpcs/s
ert-run-or-rerun-test([cl-struct-ert--stats (tag language-php) [[cl-
ert-run-tests((tag language-php) #[385 "\306\307\"\203D\211\211G\3
ert-run-tests-batch((tag language-php))
ert-run-tests-batch-and-exit((tag language-php))
(let ((selector (car-safe (prog1 argv (setq argv (cdr argv)))))) (if
flycheck-run-tests-batch-and-exit()
(let ((debug-on-error t)) (flycheck-run-tests-batch-and-exit))
flycheck-run-tests-main()
(progn (flycheck-run-tests-main))
(if (and noninteractive (flycheck-runs-this-script-p)) (progn (flych
eval-buffer(#<buffer *load*> nil "/Users/dhaley/.emacs.d/site-lisp/
load-with-code-conversion("/Users/dhaley/.emacs.d/site-lisp/flycheck
load("/Users/dhaley/.emacs.d/site-lisp/flycheck/test/run.el" nil t t
command-line-1(("-scriptload" "test/run.el" "--" "(language php)"))
command-line()
normal-top-level()
Test flycheck-define-checker/php-phpcs/standard condition:
(void-function set-difference)
FAILED 1/4 flycheck-define-checker/php-phpcs/standard
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Test flycheck-define-checker/php-phpmd/rulesets backtrace:
c-get-lang-constant(c-matchers-2 (cc-fonts) php-mode)
(defconst php-font-lock-keywords-2 (c-get-lang-constant (quote c-mat
php-mode()
funcall(php-mode)
(progn (insert-file-contents file-name (quote visit)) (set-visited-f
(unwind-protect (progn (insert-file-contents file-name (quote visit)
(progn (unwind-protect (progn (insert-file-contents file-name (quote
(unwind-protect (progn (unwind-protect (progn (insert-file-contents
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
(let ((file-name (flycheck-ert-resource-filename resource-file))) (i
(let ((mode (car --dolist-tail--))) (if (fboundp mode) nil (ert-skip
(while --dolist-tail-- (let ((mode (car --dolist-tail--))) (if (fbou
(let ((--dolist-tail-- modes)) (while --dolist-tail-- (let ((mode (c
flycheck-ert-should-syntax-check("checkers/php.php" php-mode (26 nil
(let ((flycheck-phpmd-rulesets (remove "unusedcode" flycheck-phpmd-r
(closure (python-indent-guess-indent-offset js3-mode-show-parse-erro
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\
ert-run-test([cl-struct-ert-test flycheck-define-checker/php-phpmd/r
ert-run-or-rerun-test([cl-struct-ert--stats (tag language-php) [[cl-
ert-run-tests((tag language-php) #[385 "\306\307\"\203D\211\211G\3
ert-run-tests-batch((tag language-php))
ert-run-tests-batch-and-exit((tag language-php))
(let ((selector (car-safe (prog1 argv (setq argv (cdr argv)))))) (if
flycheck-run-tests-batch-and-exit()
(let ((debug-on-error t)) (flycheck-run-tests-batch-and-exit))
flycheck-run-tests-main()
(progn (flycheck-run-tests-main))
(if (and noninteractive (flycheck-runs-this-script-p)) (progn (flych
eval-buffer(#<buffer *load*> nil "/Users/dhaley/.emacs.d/site-lisp/
load-with-code-conversion("/Users/dhaley/.emacs.d/site-lisp/flycheck
load("/Users/dhaley/.emacs.d/site-lisp/flycheck/test/run.el" nil t t
command-line-1(("-scriptload" "test/run.el" "--" "(language php)"))
command-line()
normal-top-level()
Test flycheck-define-checker/php-phpmd/rulesets condition:
(void-function set-difference)
FAILED 2/4 flycheck-define-checker/php-phpmd/rulesets
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Test flycheck-define-checker/php/default backtrace:
c-get-lang-constant(c-matchers-2 (cc-fonts) php-mode)
(defconst php-font-lock-keywords-2 (c-get-lang-constant (quote c-mat
php-mode()
funcall(php-mode)
(progn (insert-file-contents file-name (quote visit)) (set-visited-f
(unwind-protect (progn (insert-file-contents file-name (quote visit)
(progn (unwind-protect (progn (insert-file-contents file-name (quote
(unwind-protect (progn (unwind-protect (progn (insert-file-contents
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
(let ((file-name (flycheck-ert-resource-filename resource-file))) (i
(let ((mode (car --dolist-tail--))) (if (fboundp mode) nil (ert-skip
(while --dolist-tail-- (let ((mode (car --dolist-tail--))) (if (fbou
(let ((--dolist-tail-- modes)) (while --dolist-tail-- (let ((mode (c
flycheck-ert-should-syntax-check("checkers/php.php" php-mode (19 1 e
(closure (python-indent-guess-indent-offset js3-mode-show-parse-erro
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\
ert-run-test([cl-struct-ert-test flycheck-define-checker/php/default
ert-run-or-rerun-test([cl-struct-ert--stats (tag language-php) [[cl-
ert-run-tests((tag language-php) #[385 "\306\307\"\203D\211\211G\3
ert-run-tests-batch((tag language-php))
ert-run-tests-batch-and-exit((tag language-php))
(let ((selector (car-safe (prog1 argv (setq argv (cdr argv)))))) (if
flycheck-run-tests-batch-and-exit()
(let ((debug-on-error t)) (flycheck-run-tests-batch-and-exit))
flycheck-run-tests-main()
(progn (flycheck-run-tests-main))
(if (and noninteractive (flycheck-runs-this-script-p)) (progn (flych
eval-buffer(#<buffer *load*> nil "/Users/dhaley/.emacs.d/site-lisp/
load-with-code-conversion("/Users/dhaley/.emacs.d/site-lisp/flycheck
load("/Users/dhaley/.emacs.d/site-lisp/flycheck/test/run.el" nil t t
command-line-1(("-scriptload" "test/run.el" "--" "(language php)"))
command-line()
normal-top-level()
Test flycheck-define-checker/php/default condition:
(void-function set-difference)
FAILED 3/4 flycheck-define-checker/php/default
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in php-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in php-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in php-mode:
Test flycheck-define-checker/php/syntax-error backtrace:
c-get-lang-constant(c-matchers-2 (cc-fonts) php-mode)
(defconst php-font-lock-keywords-2 (c-get-lang-constant (quote c-mat
php-mode()
funcall(php-mode)
(progn (insert-file-contents file-name (quote visit)) (set-visited-f
(unwind-protect (progn (insert-file-contents file-name (quote visit)
(progn (unwind-protect (progn (insert-file-contents file-name (quote
(unwind-protect (progn (unwind-protect (progn (insert-file-contents
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
(let ((file-name (flycheck-ert-resource-filename resource-file))) (i
(let ((mode (car --dolist-tail--))) (if (fboundp mode) nil (ert-skip
(while --dolist-tail-- (let ((mode (car --dolist-tail--))) (if (fbou
(let ((--dolist-tail-- modes)) (while --dolist-tail-- (let ((mode (c
flycheck-ert-should-syntax-check("checkers/php-syntax-error.php" php
(closure (python-indent-guess-indent-offset js3-mode-show-parse-erro
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\
ert-run-test([cl-struct-ert-test flycheck-define-checker/php/syntax-
ert-run-or-rerun-test([cl-struct-ert--stats (tag language-php) [[cl-
ert-run-tests((tag language-php) #[385 "\306\307\"\203D\211\211G\3
ert-run-tests-batch((tag language-php))
ert-run-tests-batch-and-exit((tag language-php))
(let ((selector (car-safe (prog1 argv (setq argv (cdr argv)))))) (if
flycheck-run-tests-batch-and-exit()
(let ((debug-on-error t)) (flycheck-run-tests-batch-and-exit))
flycheck-run-tests-main()
(progn (flycheck-run-tests-main))
(if (and noninteractive (flycheck-runs-this-script-p)) (progn (flych
eval-buffer(#<buffer *load*> nil "/Users/dhaley/.emacs.d/site-lisp/
load-with-code-conversion("/Users/dhaley/.emacs.d/site-lisp/flycheck
load("/Users/dhaley/.emacs.d/site-lisp/flycheck/test/run.el" nil t t
command-line-1(("-scriptload" "test/run.el" "--" "(language php)"))
command-line()
normal-top-level()
Test flycheck-define-checker/php/syntax-error condition:
(void-function set-difference)
FAILED 4/4 flycheck-define-checker/php/syntax-error
Ran 4 tests, 0 results as expected, 4 unexpected (2015-01-05 10:35:25-0700)
4 unexpected results:
FAILED flycheck-define-checker/php-phpcs/standard
FAILED flycheck-define-checker/php-phpmd/rulesets
FAILED flycheck-define-checker/php/default
FAILED flycheck-define-checker/php/syntax-error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment