[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 26c1bbe 390/426: Merge pull request #113 from fber
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 26c1bbe 390/426: Merge pull request #113 from fbergroth/fix-byte-compile-test |
Date: |
Tue, 04 Aug 2015 19:39:08 +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 db784f8 403/426: Merge pull request #124 from occidens/skiptests, (continued)
- [elpa] externals/dash db784f8 403/426: Merge pull request #124 from occidens/skiptests, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3b63476 412/426: Move anaphoric function intro up into Functions section, Phillip Lord, 2015/08/04
- [elpa] externals/dash 7bd6b3b 400/426: Add dir entry to texinfo template, Phillip Lord, 2015/08/04
- [elpa] externals/dash 81b808d 409/426: Ignore dash.elc, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3992e3c 406/426: Make `-fixfn' more robust at handling floats, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4bd6273 397/426: Invoke makeinfo on the generated .texi, Phillip Lord, 2015/08/04
- [elpa] externals/dash 7d62b1a 393/426: Make test suite independent of dash, Phillip Lord, 2015/08/04
- [elpa] externals/dash 92ed7ff 391/426: Use vendored ert only on emacs23, Phillip Lord, 2015/08/04
- [elpa] externals/dash 07f0358 392/426: Add test case operator !!> for expected errors, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0ef7384 395/426: Merge pull request #114 from fbergroth/update-test-case, Phillip Lord, 2015/08/04
- [elpa] externals/dash 26c1bbe 390/426: Merge pull request #113 from fbergroth/fix-byte-compile-test,
Phillip Lord <=
- [elpa] externals/dash c34e4ab 394/426: Update invalid tests, Phillip Lord, 2015/08/04
- [elpa] externals/dash 349931e 399/426: Add @holomorph to list of contributors, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1ccd2b4 389/426: Improve byte compilation test, Phillip Lord, 2015/08/04
- [elpa] externals/dash e574465 404/426: Add `-some`, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4640a2a 405/426: Allow for approx comparison of floats in tests, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3a3f528 396/426: Add info manual, Phillip Lord, 2015/08/04