]> git.eshelyaron.com Git - emacs.git/commitdiff
(cit-remove-add-to-project-cpp): Wait for make to finish.
authorzappo <zappo@users.sourceforge.net>
Fri, 6 Mar 2009 14:24:33 +0000 (14:24 +0000)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 17:28:21 +0000 (19:28 +0200)
test/manual/cedet/cit-cpp.el

index 08a7e22c7ef7e57dfd32674126049f888d97e400..1b9fef5ef8a2d4aa1f9a0b820f560bea5f9728e6 100644 (file)
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2008, 2009 Eric M. Ludlam
 
 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
-;; X-RCS: $Id: cit-cpp.el,v 1.2 2009-01-10 19:00:38 zappo Exp $
+;; X-RCS: $Id: cit-cpp.el,v 1.3 2009-03-06 14:24:33 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
   (ede-add-file "Prog")
 
   ;; 1 g) build the sources.
+  ;; Direct compile to test that make fails properly.
   (compile "make")
+  ;; @todo - verify make error status
+  (while compilation-in-progress
+    (accept-process-output)
+    (sit-for 1))
 
   (cit-compile-and-wait)
   )