[med-svn] [Git][med-team/pll-modules][master] Try to get tests working and declare it in debian/rules

Shayan Doust gitlab at salsa.debian.org
Sun Jun 7 18:14:19 BST 2020



Shayan Doust pushed to branch master at Debian Med / pll-modules


Commits:
e7ed63f0 by Shayan Doust at 2020-06-07T18:13:54+01:00
Try to get tests working and declare it in debian/rules

- - - - -


2 changed files:

- debian/patches/2to3.patch
- debian/rules


Changes:

=====================================
debian/patches/2to3.patch
=====================================
@@ -19,6 +19,15 @@ Last-Update: 2020-06-01
  
    fancyprint("yellow", "{:<80}"
      .format(" "),True)
+@@ -285,7 +285,7 @@
+         typestr   += "C"
+ 
+       fancyprint("bluebg", "{:<80}"
+-        .format(attribstr.rjust(40 + len(attribstr)/2)), True)
++        .format(attribstr.rjust(int(40 + len(attribstr)/2))), True)
+ 
+       # Process each test case
+       fancyprint("yellow", "{:<7}   {:<8} {:<18} {:>11}    Result    {:<17}"
 @@ -329,7 +329,7 @@
  
          if skipOutput == "":


=====================================
debian/rules
=====================================
@@ -32,5 +32,5 @@ override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	## header files are needed in one place so do dh_auto_install right now
 	#dh_auto_install
-	cd test && $(MAKE)
+	cd test && $(MAKE) && python3 runtest.py
 endif



View it on GitLab: https://salsa.debian.org/med-team/pll-modules/-/commit/e7ed63f09c6e226378a9064e8b6920e7a2b0833d

-- 
View it on GitLab: https://salsa.debian.org/med-team/pll-modules/-/commit/e7ed63f09c6e226378a9064e8b6920e7a2b0833d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200607/5ae0a3ae/attachment-0001.html>


More information about the debian-med-commit mailing list