[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 26c1bbe 390/439: Merge pull request #113 from fber
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 26c1bbe 390/439: Merge pull request #113 from fbergroth/fix-byte-compile-test |
Date: |
Tue, 04 Aug 2015 20:31:03 +0000 |
branch: externals/dash
commit 26c1bbe371db3cff89d4915488a55e381ee51fe5
Merge: afe2781 1ccd2b4
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Merge pull request #113 from fbergroth/fix-byte-compile-test
Fix byte compilation test
---
dev/test-byte-compile.el | 8 --------
run-tests.sh | 9 ++++++++-
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/dev/test-byte-compile.el b/dev/test-byte-compile.el
deleted file mode 100644
index 8d9905e..0000000
--- a/dev/test-byte-compile.el
+++ /dev/null
@@ -1,8 +0,0 @@
-(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 ce9a011..74bc211 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+set -e
+
if [ -z "$EMACS" ] ; then
EMACS="emacs"
fi
@@ -10,5 +12,10 @@ $EMACS -batch \
-l dash-functional.el \
-l dev/examples-to-tests.el \
-l dev/examples.el \
- $([[ $EMACS != "emacs23" ]] && echo -l dev/test-byte-compile.el) \
-f ert-run-tests-batch-and-exit
+
+if [[ $EMACS != "emacs23" ]]; then
+ $EMACS -Q --batch \
+ --eval '(setq byte-compile-error-on-warn t)' \
+ -f batch-byte-compile dash.el
+fi
- [elpa] externals/dash c40fa44 383/439: Exclude byte compilation test on emacs23, (continued)
- [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, 2015/08/04
- [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 <=
- [elpa] externals/dash c34e4ab 394/439: Update invalid tests, Phillip Lord, 2015/08/04
- [elpa] externals/dash 07f0358 392/439: Add test case operator !!> for expected errors, Phillip Lord, 2015/08/04
- [elpa] externals/dash 92ed7ff 391/439: Use vendored ert only on emacs23, Phillip Lord, 2015/08/04
- [elpa] externals/dash 7aec562 430/439: Merge pull request #140 from mijoharas/master, Phillip Lord, 2015/08/04
- [elpa] externals/dash 63d2db9 431/439: make ->>'s second arg optional, Phillip Lord, 2015/08/04
- [elpa] externals/dash 45bd985 427/439: Reimplementation of --group-by., Phillip Lord, 2015/08/04
- [elpa] externals/dash aa13c07 429/439: fixed typo in docs (first where it should be last, Phillip Lord, 2015/08/04
- [elpa] externals/dash 70caa37 432/439: Merge pull request #144 from cammsaul/thread_last_make_second_arg_optional, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1677338 428/439: Merge pull request #138 from phillord/fix/group-by-write-out, Phillip Lord, 2015/08/04
- [elpa] externals/dash e468937 435/439: Formatting, Phillip Lord, 2015/08/04