[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash a06e66e 382/439: Add test for clean byte compilati
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash a06e66e 382/439: Add test for clean byte compilation |
Date: |
Tue, 04 Aug 2015 20:30:56 +0000 |
branch: externals/dash
commit a06e66efb1a6a13ec06f49837e9cc77fcb2102fb
Author: Fredrik Bergroth <address@hidden>
Commit: Fredrik Bergroth <address@hidden>
Add test for clean byte compilation
---
dev/test-byte-compile.el | 8 ++++++++
run-tests.sh | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dev/test-byte-compile.el b/dev/test-byte-compile.el
new file mode 100644
index 0000000..8d9905e
--- /dev/null
+++ b/dev/test-byte-compile.el
@@ -0,0 +1,8 @@
+(require 'ert)
+
+(ert-deftest dash-byte-compile ()
+ (let* ((cmd "emacs --quick --batch -f batch-byte-compile dash.el")
+ (res (shell-command-to-string cmd))
+ (elc (expand-file-name "dash.elc"))
+ (exp (format "Wrote %s\n" elc)))
+ (should (string= res exp))))
diff --git a/run-tests.sh b/run-tests.sh
index a72e077..50b45bb 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -4,4 +4,4 @@ if [ -z "$EMACS" ] ; then
EMACS="emacs"
fi
-$EMACS -batch -l dev/ert.el -l dash.el -l dash-functional.el -l
dev/examples-to-tests.el -l dev/examples.el -f ert-run-tests-batch-and-exit
+$EMACS -batch -l dev/ert.el -l dash.el -l dash-functional.el -l
dev/examples-to-tests.el -l dev/examples.el -l dev/test-byte-compile.el -f
ert-run-tests-batch-and-exit
- [elpa] externals/dash 38ef86e 376/439: Update debug forms for -if-let and -when-let, (continued)
- [elpa] externals/dash 38ef86e 376/439: Update debug forms for -if-let and -when-let, Phillip Lord, 2015/08/04
- [elpa] externals/dash 446c522 375/439: Release 2.10.0, Phillip Lord, 2015/08/04
- [elpa] externals/dash 5e9c1a9 373/439: Add Fredrik Bergroth to the list of contributors, Phillip Lord, 2015/08/04
- [elpa] externals/dash c134705 377/439: Fix compile warning, Phillip Lord, 2015/08/04
- [elpa] externals/dash c7b4cff 370/439: Update readme.md, Phillip Lord, 2015/08/04
- [elpa] externals/dash 8d2227d 380/439: Silence unused variable warning in -table, Phillip Lord, 2015/08/04
- [elpa] externals/dash 47e11ae 378/439: Update docs, Phillip Lord, 2015/08/04
- [elpa] externals/dash d0c6fc0 371/439: Merge pull request #104 from fbergroth/linkify-docs, Phillip Lord, 2015/08/04
- [elpa] externals/dash faeb61a 379/439: Merge pull request #105 from fbergroth/debug-forms, Phillip Lord, 2015/08/04
- [elpa] externals/dash c40fa44 383/439: Exclude byte compilation test on emacs23, Phillip Lord, 2015/08/04
- [elpa] externals/dash a06e66e 382/439: Add test for clean byte compilation,
Phillip Lord <=
- [elpa] externals/dash 5f879b3 387/439: Merge pull request #110 from bbatsov/comment-fix, Phillip Lord, 2015/08/04
- [elpa] externals/dash b7c2f9a 381/439: Work around byte compiler in -if-let*, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9642c4a 385/439: [Fix #108] Sync indentation of threading forms with Clojure, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1ccd2b4 389/439: Improve byte compilation test, Phillip Lord, 2015/08/04
- [elpa] externals/dash afe2781 388/439: Merge pull request #109 from bbatsov/threading-indentation, Phillip Lord, 2015/08/04
- [elpa] externals/dash 2eefbec 386/439: Don't use an inline comment on a line of its own, Phillip Lord, 2015/08/04
- [elpa] externals/dash dab0d1c 384/439: Merge pull request #107 from fbergroth/workaround-byte-compiler, Phillip Lord, 2015/08/04
- [elpa] externals/dash 7d62b1a 393/439: Make test suite independent of dash, Phillip Lord, 2015/08/04
- [elpa] externals/dash 26c1bbe 390/439: Merge pull request #113 from fbergroth/fix-byte-compile-test, Phillip Lord, 2015/08/04
- [elpa] externals/dash c34e4ab 394/439: Update invalid tests, Phillip Lord, 2015/08/04