]> code.delx.au - gnu-emacs-elpa/commitdiff
Update Makefile
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 7 Mar 2013 02:19:16 +0000 (06:19 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 7 Mar 2013 02:19:16 +0000 (06:19 +0400)
Makefile
tests/indent.el

index 3ff3d8c2df15789d959b0b7df7de83e93a47addc..6d05248df0c9d233efdc83b17d7d4bb2e088e0df 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,4 +20,4 @@ js2-imenu-extras.elc: js2-mode.elc
        emacs $(BATCHFLAGS) -l ./js2-mode.elc -f batch-byte-compile $*.el
 
 test:
-       emacs $(BATCHFLAGS) -l js2-mode.el -l tests/ast.el -f ert-run-tests-batch
+       emacs $(BATCHFLAGS) -l js2-mode.el -l tests/*.el -f ert-run-tests-batch
index d363374778cb1477413acab240cc36e17ba80962..b0d1b31579fe9483eedd9cbfc72990cb5e1aec85 100644 (file)
@@ -13,7 +13,8 @@
 (defmacro* js2-deftest-indent (name content &key bind)
   `(ert-deftest ,name ()
      (let ,(append '((js2-basic-offset 2)
-                     (js2-pretty-multiline-declarations t))
+                     (js2-pretty-multiline-declarations t)
+                     (inhibit-point-motion-hooks t))
                    bind)
        (js2-test-indent ,content))))