org-test: prepare for more selective batch testing
commite63a7ff70cb4e8669d4c4796afc153f8ea536fcf
authorAchim Gratz <Stromeko@Stromeko.DE>
Sun, 19 May 2013 07:20:17 +0000 (19 09:20 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Sat, 1 Jun 2013 09:31:07 +0000 (1 11:31 +0200)
tree9cf605781b8376a99f7928752d6a4a5f8156d6cd
parent24d3fbacaae8358f41a0ea556253473bc0fce999
org-test: prepare for more selective batch testing

* testing/org-test.el: Conditionalize interactive setup on
  bound-and-true `org-batch-test'.  (org-id-locations-file): New
  defvar.  (org-test-run-batch-tests): Use `org-id-locations-file'
  defined before and add optional argument `org-test-selector' to
  control which tests to run.

This change introduces ability to select the tests to run for batch
testing and removes several dependencies not needed during batch test
when `org-batch-test' is defined in preparation for a corresponding
change in how the build system invokes batch testing.  Full backward
compatibility is maintained.
testing/org-test.el