[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 9480090 261/316: Test updating t
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests 9480090 261/316: Test updating the project version |
Date: |
Sat, 28 Jan 2017 09:10:09 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 9480090a908d3b674fe619842b35284dded8015d
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>
Test updating the project version
* test/manual/cedet/cit-dist.el: (cit-make-dist): Test w/ default
version, then update and test again. (cit-update-version): Force
rebuild of Makefile.
---
test/manual/cedet/cit-dist.el | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/test/manual/cedet/cit-dist.el b/test/manual/cedet/cit-dist.el
index 3d844d2..b8fb7b3 100644
--- a/test/manual/cedet/cit-dist.el
+++ b/test/manual/cedet/cit-dist.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2009 Eric M. Ludlam
;;
;; Author: Eric M. Ludlam <address@hidden>
-;; X-RCS: $Id: cit-dist.el,v 1.1 2009-12-26 22:36:16 zappo Exp $
+;; X-RCS: $Id: cit-dist.el,v 1.2 2009-12-27 03:37:04 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
@@ -28,9 +28,18 @@
(defun cit-make-dist ()
"Create a distribution, and test that it exists."
+ ;; 6.a) Create the distribution
+ (ede-make-dist)
+ (cit-wait-for-compilation)
+
+ ;; Get the version number, then check for that file to exist.
+ (when (not (file-exists-p "CEDET_Integ_Test_Project-1.0.tar.gz"))
+ (error "Failed to create expected .tar.gz file."))
+
+ ;; 6.b) update the version number
(cit-update-version)
- ;; 6.a) Create the distribution
+ ;; 6.c) make a new dist. Verify version number.
(ede-make-dist)
(cit-wait-for-compilation)
@@ -39,6 +48,7 @@
(error "Failed to create expected .tar.gz file."))
;; @TODO - test extraction and build somewhere else.
+ ;; 6.d)
)
@@ -52,6 +62,10 @@
(let ((ver (oref (ede-toplevel) :version)))
(when (not (string= "2.1" ver))
(error "Version number did not update correctly.")))
+
+ ;; Force a rebuild with the new version number
+ (cit-compile-and-wait " Makefile")
+
)
(provide 'cit-dist)
- [Emacs-diffs] scratch/merge-cedet-tests 42516a8 254/316: Added cpproot tests, (continued)
- [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
- [Emacs-diffs] scratch/merge-cedet-tests 63dbe0c 276/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9480090 261/316: Test updating the project version,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests e78d9b8 201/316: Fix merge error in unit tests., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 8989dc6 313/316: New Tests for ede-java-root-project type., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests c89acc2 305/316: Add test code for use with sources in globalref, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9b72617 282/316: Don't set :filename if it's already set, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 2448a55 268/316: Fix unit testing for several tests and do better error checking., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 6adc6be 266/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 3cb2319 243/316: Added code for test tags, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 101da66 306/316: Don't scan other files because Util.cc is already in a buffer, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 3cc63e2 316/316: Remove tests and redundant resources not destined for merge, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests d8c1209 234/316: CPP integration support. Core bits copied originally from cedet-integ-test.el, Edward John Steere, 2017/01/28