[tcl-fitstcl] 01/01: chdir to tests directory to fix failing tests

Ole Streicher olebole at moszumanska.debian.org
Tue May 19 12:34:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository tcl-fitstcl.

commit 7cebb7334edacbcd289b2d83ce23bb3f59fa0aef
Author: Ole Streicher <olebole at debian.org>
Date:   Tue May 19 14:28:15 2015 +0200

    chdir to tests directory to fix failing tests
---
 debian/changelog     | 6 ++++++
 debian/rules         | 2 +-
 debian/tests/all.tcl | 1 +
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 741fb48..d14d02a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tcl-fitstcl (2.3-6) unstable; urgency=low
+
+  * Chdir to debian/tests to fix CI integration tests
+
+ -- Ole Streicher <olebole at debian.org>  Tue, 19 May 2015 14:29:29 +0200
+
 tcl-fitstcl (2.3-5) unstable; urgency=low
 
   * Add tcl dependencies to fix CI integration test
diff --git a/debian/rules b/debian/rules
index 19ac270..ffd4fcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ override_dh_auto_configure:
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-	( cd debian/tests; TCLLIBPATH=../.. tclsh all.tcl)
+	TCLLIBPATH=../.. tclsh debian/tests/all.tcl
 endif
 
 override_dh_installchangelogs:
diff --git a/debian/tests/all.tcl b/debian/tests/all.tcl
index 2be27fa..31e7b33 100755
--- a/debian/tests/all.tcl
+++ b/debian/tests/all.tcl
@@ -1,6 +1,7 @@
 #!/usr/bin/tclsh
 # This file is a -*- tcl -*- file
 
+cd debian/tests
 package require tcltest
 tcltest::verbose {pass body error}
 proc tcltest::cleanupTestsHook {} {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/tcl-fitstcl.git



More information about the debian-science-commits mailing list