diff options
| author | Phillip Lord | 2015-11-23 22:08:52 +0000 |
|---|---|---|
| committer | Phillip Lord | 2015-11-24 17:10:12 +0000 |
| commit | 94bb3d7a808b8ed29336250bf5ffaf636280ee1e (patch) | |
| tree | bc1e629e3f7c381ecc424d2aeb846be8d18c6a73 /test/lisp | |
| parent | 22bbf7ca22f11cc33d887d0162cf2ec6661c3a3e (diff) | |
| download | emacs-94bb3d7a808b8ed29336250bf5ffaf636280ee1e.tar.gz emacs-94bb3d7a808b8ed29336250bf5ffaf636280ee1e.zip | |
Test infrastructure: updates after directory move
* (test/Makefile.in): Support directories several levels deep.
* (test/data/flymake): Rename to test/lisp/progmodes/flymake-resources.
* (test/lisp/progmodes/flymake-tests.el): Support renamed resource directory.
Diffstat (limited to 'test/lisp')
| -rw-r--r-- | test/lisp/progmodes/flymake-resources/test.c | 5 | ||||
| -rw-r--r-- | test/lisp/progmodes/flymake-resources/test.pl | 2 | ||||
| -rw-r--r-- | test/lisp/progmodes/flymake-tests.el | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/test/lisp/progmodes/flymake-resources/test.c b/test/lisp/progmodes/flymake-resources/test.c new file mode 100644 index 00000000000..3a3926131f5 --- /dev/null +++ b/test/lisp/progmodes/flymake-resources/test.c | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | int main() | ||
| 2 | { | ||
| 3 | char c = 1000; | ||
| 4 | return c; | ||
| 5 | } | ||
diff --git a/test/lisp/progmodes/flymake-resources/test.pl b/test/lisp/progmodes/flymake-resources/test.pl new file mode 100644 index 00000000000..d5abcb47e7f --- /dev/null +++ b/test/lisp/progmodes/flymake-resources/test.pl | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | @arr = [1,2,3,4]; | ||
| 2 | my $b = @arr[1]; | ||
diff --git a/test/lisp/progmodes/flymake-tests.el b/test/lisp/progmodes/flymake-tests.el index 11231bc3f7a..1d8c12c0655 100644 --- a/test/lisp/progmodes/flymake-tests.el +++ b/test/lisp/progmodes/flymake-tests.el | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | (require 'flymake) | 26 | (require 'flymake) |
| 27 | 27 | ||
| 28 | (defvar flymake-tests-data-directory | 28 | (defvar flymake-tests-data-directory |
| 29 | (expand-file-name "data/flymake" (getenv "EMACS_TEST_DIRECTORY")) | 29 | (expand-file-name "lisp/progmodes/flymake-resources" (getenv "EMACS_TEST_DIRECTORY")) |
| 30 | "Directory containing flymake test data.") | 30 | "Directory containing flymake test data.") |
| 31 | 31 | ||
| 32 | 32 | ||