[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 404d4da 242/316: Improve compila
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests 404d4da 242/316: Improve compilation active detection |
Date: |
Fri, 27 Jan 2017 20:03:43 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 404d4da32624d758beb2ab164804efbd22a242ab
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>
Improve compilation active detection
* test/manual/cedet/cit-cpp.el: (cit-remove-add-to-project-cpp)
(cit-remove-and-do-shared-lib): Use cit-wait-for-compilation and
cit-check-compilation-for-error.
---
test/manual/cedet/cit-cpp.el | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/test/manual/cedet/cit-cpp.el b/test/manual/cedet/cit-cpp.el
index 1ab5bff..0d8b537 100644
--- a/test/manual/cedet/cit-cpp.el
+++ b/test/manual/cedet/cit-cpp.el
@@ -1,9 +1,9 @@
;;; cit-cpp.el --- C++ specific things for our integ test.
-;; Copyright (C) 2008, 2009 Eric M. Ludlam
+;; Copyright (C) 2008, 2009, 2010 Eric M. Ludlam
;; Author: Eric M. Ludlam <address@hidden>
-;; X-RCS: $Id: cit-cpp.el,v 1.8 2009-10-18 16:16:30 zappo Exp $
+;; X-RCS: $Id: cit-cpp.el,v 1.9 2010-03-16 03:05:27 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
@@ -167,10 +167,10 @@ Argument MAKE-TYPE is the type of make project to create."
;; 1 g) build the sources.
;; Direct compile to test that make fails properly.
(compile ede-make-command)
- ;; @todo - verify make error status
- (while compilation-in-progress
- (accept-process-output)
- (sit-for 1))
+
+
+ (cit-wait-for-compilation)
+ (cit-check-compilation-for-error t) ;; That should have errored.
(let ((p (ede-current-project)))
(if (string= make-type "Automake")
@@ -198,10 +198,9 @@ Create a new shared lib with bar.cpp in it."
;; 1 g) build the sources.
;; Direct compile to test that make fails properly.
(compile ede-make-command)
- ;; @todo - verify make error status
- (while compilation-in-progress
- (accept-process-output)
- (sit-for 1))
+
+ (cit-wait-for-compilation)
+ (cit-check-compilation-for-error t) ;; that should have errored.
(cit-compile-and-wait)
))
- [Emacs-diffs] scratch/merge-cedet-tests c856c20 052/316: New test file., (continued)
- [Emacs-diffs] scratch/merge-cedet-tests c856c20 052/316: New test file., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 541cc30 053/316: (cpprootsys.h, projincmacros.h): New includes (projmacro_a): New fcn., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests d08bd3b 117/316: C/C++: Fix function pointer parsing, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests cd08101 179/316: Added cit uml, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e96e309 178/316: Added new subdir and ensure that the base dir, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 765b8f9 208/316: (cedet-utest-test-alist): Add ede-detect-linux-utest., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests de289a9 189/316: Compare Code And Documtation For Tags, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 7177e01 210/316: Add compdb EDE project, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 284144e 154/316: Fixes for test execution, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests fd40e7f 212/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 404d4da 242/316: Improve compilation active detection,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests 3cb2319 243/316: Added code for test tags, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 05006be 049/316: Semantic Symref testing., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 614a6bb 044/316: Synchronize base 'cedet/ede' with Emacs, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests dbfb320 057/316: Test files contributed by Barry OReilly, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests b76efc7 062/316: Determine the STYLE of test to run. If none passed in, use Make., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 573b4a5 059/316: Remove more temporary directories, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 3730a42 069/316: New include for cpproot test that is in a subdirectory., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 4131d23 046/316: Fix typo in last commit., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 6a63635 090/316: ("ede-proj-project"): Add scripts/cit-test.sh, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e20716d 097/316: ("Lisp"): Added cogre as an aux package., Edward John Steere, 2017/01/27