From 322251ed5d5d3d0996e90aa35fabfacfbacccf42 Mon Sep 17 00:00:00 2001 From: zappo Date: Sat, 14 Mar 2009 15:17:28 +0000 Subject: [PATCH] Disable semanticdb-file saving. Disable srecode map saving. --- test/manual/cedet/cit-load.el | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/test/manual/cedet/cit-load.el b/test/manual/cedet/cit-load.el index 748cf4cc3a7..51695d41f0e 100644 --- a/test/manual/cedet/cit-load.el +++ b/test/manual/cedet/cit-load.el @@ -1,9 +1,9 @@ -;;; cit-load.el --- +;;; cit-load.el --- Configuration when running the integration tests. -;; Copyright (C) 2008 Eric M. Ludlam +;; Copyright (C) 2008, 2009 Eric M. Ludlam ;; Author: Eric M. Ludlam -;; X-RCS: $Id: cit-load.el,v 1.3 2008-03-11 02:35:54 zappo Exp $ +;; X-RCS: $Id: cit-load.el,v 1.4 2009-03-14 15:17:28 zappo Exp $ ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -22,7 +22,10 @@ ;;; Commentary: ;; -;; Loading cit stuff. +;; Do a setup for running the integration tests. +;; +;; Disable various caches as needed to mimic a CEDET install that +;; is bootstrapping up for the first time. ;;; Code: @@ -35,6 +38,16 @@ (setq inhibit-splash-screen t) +;; Disables all caches related to semantic DB so all +;; tests run as if we have bootstrapped CEDET for the +;; first time. +(setq-default semanticdb-new-database-class 'semanticdb-project-database) +(message "Disabling existing Semantic Database Caches.") + +;; Disabling the srecoder map, we won't load a pre-existing one +;; and will be forced to bootstrap a new one. +(setq srecode-map-save-file nil) + (require 'cedet-integ-test) (provide 'cit-load) -- 2.39.2