1 ;;; cit-load.el --- Configuration when running the integration tests.
3 ;; Copyright (C) 2008, 2009, 2012, 2013 Eric M. Ludlam
5 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
7 ;; This program is free software; you can redistribute it and/or
8 ;; modify it under the terms of the GNU General Public License as
9 ;; published by the Free Software Foundation; either version 2, or (at
10 ;; your option) any later version.
12 ;; This program is distributed in the hope that it will be useful, but
13 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ;; General Public License for more details.
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with this program; see the file COPYING. If not, write to
19 ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 ;; Boston, MA 02110-1301, USA.
24 ;; Do a setup for running the integration tests.
26 ;; Disable various caches as needed to mimic a CEDET install that
27 ;; is bootstrapping up for the first time.
32 (let ((dir (file-name-directory
33 (or load-file-name
(buffer-file-name)))))
34 (add-to-list 'load-path dir
)
36 "Src dir to CIT testing suite.")
38 (setq inhibit-splash-screen t
)
40 ;; Disable saving EDE's cache file.
41 (setq ede-project-placeholder-cache-file nil
)
43 ;; Disables all caches related to semantic DB so all
44 ;; tests run as if we have bootstrapped CEDET for the
46 (setq-default semanticdb-new-database-class
'semanticdb-project-database
)
47 (message "Disabling existing Semantic Database Caches.")
49 ;; Disabling the srecoder map, we won't load a pre-existing one
50 ;; and will be forced to bootstrap a new one.
51 (setq srecode-map-save-file nil
)
56 ;; Disable asking lots of questions while the tests are running.
57 (setq ede-project-directories t
)
59 (require 'cedet-integ-test
)
62 ;;; cit-load.el ends here