emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/merge-cedet-tests 322251e 005/316: Disable semanti


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests 322251e 005/316: Disable semanticdb-file saving. Disable srecode map saving.
Date: Fri, 27 Jan 2017 20:03:21 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit 322251ed5d5d3d0996e90aa35fabfacfbacccf42
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>

    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 748cf4c..51695d4 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 <address@hidden>
-;; 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]