emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/merge-cedet-tests 34041d4 120/316: Synchronize ced


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests 34041d4 120/316: Synchronize cedet/semantic with Emacs.
Date: Fri, 27 Jan 2017 20:03:33 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit 34041d49005da6d3bbbca4334eb1f93aaaefbcf9
Author: xscript <address@hidden>
Commit: Edward John Steere <address@hidden>

    Synchronize cedet/semantic with Emacs.
---
 test/manual/cedet/cedet/semantic/db-ebrowse.el |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/test/manual/cedet/cedet/semantic/db-ebrowse.el 
b/test/manual/cedet/cedet/semantic/db-ebrowse.el
new file mode 100644
index 0000000..92b70f8
--- /dev/null
+++ b/test/manual/cedet/cedet/semantic/db-ebrowse.el
@@ -0,0 +1,18 @@
+(defun semanticdb-ebrowse-run-tests ()
+  "Run some tests of the semanticdb-ebrowse system.
+All systems are different.  Ask questions along the way."
+  (interactive)
+  (let ((doload nil))
+    (when (y-or-n-p "Create a system database to test with? ")
+      (call-interactively 'semanticdb-create-ebrowse-database)
+      (setq doload t))
+    ;; Should we load in caches
+    (when (if doload
+              (y-or-n-p "New database created. Reload system databases? ")
+            (y-or-n-p "Load in all system databases? "))
+      (semanticdb-load-ebrowse-caches)))
+  ;; Ok, databases were creatd.         Lets try some searching.
+  (when (not (or (eq major-mode 'c-mode)
+              (eq major-mode 'c++-mode)))
+    (error "Please make your default buffer be a C or C++ file, then
+run the test again..")))



reply via email to

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