[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: |
Sat, 28 Jan 2017 09:10:07 +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 784b5c8 231/316: Make unit tests use randomized file names, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests 784b5c8 231/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests df0e0e6 193/316: Synchronize cedet/srecode with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 2316f19 173/316: Add whitespace at the end of a filled buffer, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 7177e01 210/316: Add compdb EDE project, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests e076b36 177/316: Set the auto-add-method to always during test, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests b85662e 218/316: New file, derived from logging functions in cedet-utest.el, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests b6ebafc 233/316: Added more test data, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 49b4ce7 213/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests fd40e7f 212/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 99ad7b6 206/316: Added security test, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 404d4da 242/316: Improve compilation active detection,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests 727bca8 248/316: Ensure that the correct buffer is active when, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 42516a8 254/316: Added cpproot tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9767368 308/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 83bcf53 274/316: (cit-srecode-fill-el): Insert classes before methods., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 1373a94 285/316: (cit-gnu-externaldb-test-one): Improve test for bad search result., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 816e083 151/316: (ede-detect-utest-project-list): Add test for generic VC type project. (ede-detect-utest): Add fake autoloader for VC. (ede-detect-utest-generic-vc-p): New., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests e9c9716 279/316: Fixes for external db tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests e0d3d7b 303/316: New tests., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ec14f1c 315/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests c2f09c4 182/316: (cedet-integ-test-proj): Add cit-remove-and-do-shared-lib., Edward John Steere, 2017/01/28