From: Glenn Morris Date: Tue, 16 Dec 2014 01:41:03 +0000 (-0500) Subject: Move flymake test data to more standard location X-Git-Tag: emacs-25.0.90~2635^2~60 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2aec9bee32236f931df57ae621eb2666408da48;p=emacs.git Move flymake test data to more standard location * test/automated/flymake-tests.el (flymake-tests-data-directory): Change from flymake/warnpred to more standard data/flymake. * .gitignore: Update for relocated flymake test data. --- diff --git a/.gitignore b/.gitignore index 188dd9f55d8..d05352e7124 100644 --- a/.gitignore +++ b/.gitignore @@ -41,7 +41,7 @@ InfoPlist.strings Makefile !admin/charsets/Makefile !etc/refcards/Makefile -!test/automated/flymake/warnpred/Makefile +!test/automated/data/flymake/Makefile !test/indent/Makefile makefile /*.cache diff --git a/test/ChangeLog b/test/ChangeLog index c4ff2c70147..6fa11867a5e 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2014-12-16 Glenn Morris + + * automated/flymake-tests.el (flymake-tests-data-directory): + Change from flymake/warnpred to more standard data/flymake. + 2014-12-11 Michael Albinus * automated/vc-tests.el (vc-test--revision-granularity-function): diff --git a/test/automated/data/flymake/Makefile b/test/automated/data/flymake/Makefile new file mode 100644 index 00000000000..33af51c3337 --- /dev/null +++ b/test/automated/data/flymake/Makefile @@ -0,0 +1,8 @@ +# Makefile for flymake tests + +CC_OPTS = -Wall + +check-syntax: + $(CC) $(CC_OPTS) ${CHK_SOURCES} + +# eof diff --git a/test/automated/data/flymake/test.c b/test/automated/data/flymake/test.c new file mode 100644 index 00000000000..3a3926131f5 --- /dev/null +++ b/test/automated/data/flymake/test.c @@ -0,0 +1,5 @@ +int main() +{ + char c = 1000; + return c; +} diff --git a/test/automated/data/flymake/test.pl b/test/automated/data/flymake/test.pl new file mode 100644 index 00000000000..2013b2e4434 --- /dev/null +++ b/test/automated/data/flymake/test.pl @@ -0,0 +1,2 @@ +@arr = [1,2,3,4]; +@arr[1] = -1; diff --git a/test/automated/flymake-tests.el b/test/automated/flymake-tests.el index e5f444e262b..2a18a5e30fb 100644 --- a/test/automated/flymake-tests.el +++ b/test/automated/flymake-tests.el @@ -26,7 +26,7 @@ (require 'flymake) (defvar flymake-tests-data-directory - (expand-file-name "flymake/warnpred" (getenv "EMACS_TEST_DIRECTORY")) + (expand-file-name "data/flymake" (getenv "EMACS_TEST_DIRECTORY")) "Directory containing flymake test data.") diff --git a/test/automated/flymake/warnpred/Makefile b/test/automated/flymake/warnpred/Makefile deleted file mode 100644 index 33af51c3337..00000000000 --- a/test/automated/flymake/warnpred/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# Makefile for flymake tests - -CC_OPTS = -Wall - -check-syntax: - $(CC) $(CC_OPTS) ${CHK_SOURCES} - -# eof diff --git a/test/automated/flymake/warnpred/test.c b/test/automated/flymake/warnpred/test.c deleted file mode 100644 index 3a3926131f5..00000000000 --- a/test/automated/flymake/warnpred/test.c +++ /dev/null @@ -1,5 +0,0 @@ -int main() -{ - char c = 1000; - return c; -} diff --git a/test/automated/flymake/warnpred/test.pl b/test/automated/flymake/warnpred/test.pl deleted file mode 100644 index 2013b2e4434..00000000000 --- a/test/automated/flymake/warnpred/test.pl +++ /dev/null @@ -1,2 +0,0 @@ -@arr = [1,2,3,4]; -@arr[1] = -1;