Port xref-tests to master branch
commit81204b276f849b577a0ccd0b6175353dfa9e2a07
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 May 2016 17:09:13 +0000 (6 10:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 May 2016 17:09:53 +0000 (6 10:09 -0700)
tree0b3c205165739eafbaa5f315caf9f16fe03800aa
parent89ce83b20249dfb4e45f09dfdddf4c4b66d82968
Port xref-tests to master branch

Also, add a test to make this problem less likely in the future.
* test/Makefile.in (check-no-automated-subdir): New rule.
(check, check-expensive, check-maybe): Depend on it.
* test/automated/data/xref/file1.txt: Rename to ...
* test/data/xref/file1.txt: ... here.
* test/automated/data/xref/file2.txt: Rename to ...
* test/data/xref/file2.txt: ... here.
* test/automated/xref-tests.el: Rename to ...
* test/lisp/progmodes/xref-tests.el: ... here.
(xref-tests-data-dir): Use EMACS_TEST_DIRECTORY.
test/Makefile.in
test/data/xref/file1.txt [moved from test/automated/data/xref/file1.txt with 100% similarity]
test/data/xref/file2.txt [moved from test/automated/data/xref/file2.txt with 100% similarity]
test/lisp/progmodes/xref-tests.el [moved from test/automated/xref-tests.el with 97% similarity]