]> code.delx.au - gnu-emacs-elpa/commitdiff
Reorganize files.
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Tue, 3 May 2016 04:12:52 +0000 (21:12 -0700)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Tue, 3 May 2016 04:12:52 +0000 (21:12 -0700)
48 files changed:
.elpaignore
.gitignore
Makefile
context-coloring-benchmark.el [moved from benchmark/context-coloring-benchmark.el with 94% similarity]
context-coloring-coverage.el [moved from test/context-coloring-coverage.el with 100% similarity]
context-coloring-test.el [moved from test/context-coloring-test.el with 99% similarity]
fixtures/.nosearch [moved from benchmark/fixtures/.nosearch with 100% similarity]
fixtures/benchmark/.dir-locals.el [moved from benchmark/fixtures/.dir-locals.el with 100% similarity]
fixtures/benchmark/async-0.9.0.js [moved from benchmark/fixtures/async-0.9.0.js with 100% similarity]
fixtures/benchmark/faces.el [moved from benchmark/fixtures/faces.el with 100% similarity]
fixtures/benchmark/jquery-2.1.1.js [moved from benchmark/fixtures/jquery-2.1.1.js with 100% similarity]
fixtures/benchmark/lisp.el [moved from benchmark/fixtures/lisp.el with 100% similarity]
fixtures/benchmark/lodash-2.4.1.js [moved from benchmark/fixtures/lodash-2.4.1.js with 100% similarity]
fixtures/benchmark/mkdirp-0.5.0.js [moved from benchmark/fixtures/mkdirp-0.5.0.js with 100% similarity]
fixtures/benchmark/simple.el [moved from benchmark/fixtures/simple.el with 100% similarity]
fixtures/benchmark/subr.el [moved from benchmark/fixtures/subr.el with 100% similarity]
fixtures/test/block-scopes.js [moved from test/fixtures/block-scopes.js with 100% similarity]
fixtures/test/catch.js [moved from test/fixtures/catch.js with 100% similarity]
fixtures/test/changed.el [moved from test/fixtures/changed.el with 100% similarity]
fixtures/test/comment.el [moved from test/fixtures/comment.el with 100% similarity]
fixtures/test/comments-and-strings.js [moved from test/fixtures/comments-and-strings.js with 100% similarity]
fixtures/test/cond.el [moved from test/fixtures/cond.el with 100% similarity]
fixtures/test/condition-case.el [moved from test/fixtures/condition-case.el with 100% similarity]
fixtures/test/defadvice.el [moved from test/fixtures/defadvice.el with 100% similarity]
fixtures/test/defun.el [moved from test/fixtures/defun.el with 100% similarity]
fixtures/test/dolist.el [moved from test/fixtures/dolist.el with 100% similarity]
fixtures/test/empty [moved from test/fixtures/empty with 100% similarity]
fixtures/test/empty-varlist.el [moved from test/fixtures/empty-varlist.el with 100% similarity]
fixtures/test/function-scopes.js [moved from test/fixtures/function-scopes.js with 100% similarity]
fixtures/test/global.js [moved from test/fixtures/global.js with 100% similarity]
fixtures/test/ignored.el [moved from test/fixtures/ignored.el with 100% similarity]
fixtures/test/initial-level.js [moved from test/fixtures/initial-level.js with 100% similarity]
fixtures/test/iteration.el [moved from test/fixtures/iteration.el with 100% similarity]
fixtures/test/key-names.js [moved from test/fixtures/key-names.js with 100% similarity]
fixtures/test/key-values.js [moved from test/fixtures/key-values.js with 100% similarity]
fixtures/test/lambda.el [moved from test/fixtures/lambda.el with 100% similarity]
fixtures/test/let-star.el [moved from test/fixtures/let-star.el with 100% similarity]
fixtures/test/let.el [moved from test/fixtures/let.el with 100% similarity]
fixtures/test/macroexp-let2.el [moved from test/fixtures/macroexp-let2.el with 100% similarity]
fixtures/test/property-lookup.js [moved from test/fixtures/property-lookup.js with 100% similarity]
fixtures/test/quote.el [moved from test/fixtures/quote.el with 100% similarity]
fixtures/test/sexp.el [moved from test/fixtures/sexp.el with 100% similarity]
fixtures/test/splice.el [moved from test/fixtures/splice.el with 100% similarity]
fixtures/test/string.el [moved from test/fixtures/string.el with 100% similarity]
fixtures/test/unbalanced-parenthesis.el [moved from test/fixtures/unbalanced-parenthesis.el with 100% similarity]
fixtures/test/unterminated-comment.js [moved from test/fixtures/unterminated-comment.js with 100% similarity]
fixtures/test/varlist-spacing.el [moved from test/fixtures/varlist-spacing.el with 100% similarity]
test/fixtures/.nosearch [deleted file]

index 9ec6a5e7c0fa9f54fc3ac9ea26ed51c25d718a8d..bad5d87de1e9fa772df7cc691862a4a808549966 100644 (file)
@@ -1,8 +1,10 @@
 .elpaignore
 .gitignore
 .travis.yml
-benchmark
 Cask
+context-coloring-benchmark.el
+context-coloring-coverage.el
+context-coloring-test.el
+fixtures
 Makefile
 screenshot.png
-test
index 06046bb79794414cde57ac815e36a7f0fa5b97be..b9fedcaefaa1f563ebe984c367d30f66def65707 100644 (file)
@@ -2,5 +2,5 @@
 *-pkg.el
 *.elc
 .cask/
-/benchmark/logs/
-/test/coverage/
+/benchmark/
+/coverage/
index f729409b9c8d4741e254d0cc2f86193618d49435..08c23eb4ced0671a843d33d0e6fae94167a35d9b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ bench: ${DEPENDENCIES}
        ${CASK} exec ${EMACS} -Q \
        -L . \
        -l context-coloring \
-       -l benchmark/context-coloring-benchmark.el \
+       -l context-coloring-benchmark \
        -f context-coloring-benchmark-run
 
 compile: ${DEPENDENCIES}
@@ -29,18 +29,18 @@ test: ${DEPENDENCIES}
        ${CASK} exec ${EMACS} -Q -batch \
        -L . \
        -l ert \
-       -l test/context-coloring-coverage.el \
+       -l context-coloring-coverage \
        -f context-coloring-coverage-ci-init \
-       -l test/context-coloring-test.el \
+       -l context-coloring-test \
        -f ert-run-tests-batch-and-exit
 
 cover: ${DEPENDENCIES}
        ${CASK} exec ${EMACS} -Q -batch \
        -L . \
        -l ert \
-       -l test/context-coloring-coverage.el \
+       -l context-coloring-coverage \
        -f context-coloring-coverage-local-init \
-       -l test/context-coloring-test.el \
+       -l context-coloring-test \
        -f ert-run-tests-batch-and-exit
 
 .PHONY: all bench compile uncompile clean test cover
similarity index 94%
rename from benchmark/context-coloring-benchmark.el
rename to context-coloring-benchmark.el
index 4174d0cef73b9cc2df9b3a1d94413d2bf46a26f7..dafc9591b817c3310ed4bd9cc95ef9f0f89f84dd 100644 (file)
@@ -46,7 +46,7 @@
                        (elp-results)
                        (buffer-substring-no-properties (point-min) (point-max)))
                    (kill-buffer))))
-    (make-directory (context-coloring-benchmark-resolve-path "./logs") t)
+    (make-directory (context-coloring-benchmark-resolve-path "./benchmark") t)
     (append-to-file
      (with-temp-buffer
        (goto-char (point-min))
@@ -74,7 +74,7 @@
 (defun context-coloring-benchmark (title fixtures)
   "Execute a benchmark titled TITLE against FIXTURES."
   (let ((result-file (context-coloring-benchmark-resolve-path
-                      (format "./logs/results-%s-%s.log"
+                      (format "./benchmark/results-%s-%s.log"
                               title (format-time-string "%s")))))
     (mapc
      (lambda (path)
      fixtures)))
 
 (defconst context-coloring-benchmark-javascript-fixtures
-  '("./fixtures/jquery-2.1.1.js"
-    "./fixtures/lodash-2.4.1.js"
-    "./fixtures/async-0.9.0.js"
-    "./fixtures/mkdirp-0.5.0.js")
+  '("./fixtures/benchmark/jquery-2.1.1.js"
+    "./fixtures/benchmark/lodash-2.4.1.js"
+    "./fixtures/benchmark/async-0.9.0.js"
+    "./fixtures/benchmark/mkdirp-0.5.0.js")
   "Arbitrary JavaScript files for performance scrutiny.")
 
 (defun context-coloring-benchmark-js2-mode-run ()
   (remove-hook 'js2-mode-hook #'context-coloring-mode))
 
 (defconst context-coloring-benchmark-emacs-lisp-fixtures
-  '("./fixtures/lisp.el"
-    "./fixtures/faces.el"
-    "./fixtures/subr.el"
-    "./fixtures/simple.el")
+  '("./fixtures/benchmark/lisp.el"
+    "./fixtures/benchmark/faces.el"
+    "./fixtures/benchmark/subr.el"
+    "./fixtures/benchmark/simple.el")
   "Arbitrary Emacs Lisp files for performance scrutiny.")
 
 (defun context-coloring-benchmark-emacs-lisp-mode-run ()
similarity index 99%
rename from test/context-coloring-test.el
rename to context-coloring-test.el
index 08684da91825996d4bd315b778d5ad191cbbf533..c54cb80105307d8b8d95698e46d277e86c2d0289 100644 (file)
@@ -91,9 +91,9 @@ signaled."
                                                   (name)
                                                   (t "generic"))) name)))
              (fixture (cond
-                       (fixture (format "./fixtures/%s" fixture))
-                       (,no-fixture "./fixtures/empty")
-                       (t (format ,(format "./fixtures/%%s.%s" extension) name)))))
+                       (fixture (format "./fixtures/test/%s" fixture))
+                       (,no-fixture "./fixtures/test/empty")
+                       (t (format ,(format "./fixtures/test/%%s.%s" extension) name)))))
          ,@`((let ((enable-context-coloring-mode ,enable-context-coloring-mode))
                `(ert-deftest ,test-name ()
                   (context-coloring-test-with-fixture
similarity index 100%
rename from test/fixtures/cond.el
rename to fixtures/test/cond.el
similarity index 100%
rename from test/fixtures/empty
rename to fixtures/test/empty
similarity index 100%
rename from test/fixtures/let.el
rename to fixtures/test/let.el
similarity index 100%
rename from test/fixtures/sexp.el
rename to fixtures/test/sexp.el
diff --git a/test/fixtures/.nosearch b/test/fixtures/.nosearch
deleted file mode 100644 (file)
index e69de29..0000000