[med-svn] [Git][med-team/paleomix][master] Mark command test xfail which would xpass during autopkgtest

Nilesh Patra gitlab at salsa.debian.org
Tue Sep 1 15:27:01 BST 2020



Nilesh Patra pushed to branch master at Debian Med / paleomix


Commits:
aa10a898 by Nilesh Patra at 2020-09-01T19:56:40+05:30
Mark command test xfail which would xpass during autopkgtest

- - - - -


2 changed files:

- debian/patches/series
- + debian/patches/xfail_command_tests.patch


Changes:

=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 python3_in_shebang.patch
+xfail_command_tests.patch


=====================================
debian/patches/xfail_command_tests.patch
=====================================
@@ -0,0 +1,21 @@
+Author: Nilesh Patra <npatra974 at gmail.com>
+Description: Binary isn't generated until build time tests start
+Last-Changed: September 1, 2020
+--- a/tests/tools_test/factory_test.py
++++ b/tests/tools_test/factory_test.py
+@@ -60,6 +60,7 @@
+ 
+ 
+ # Simple test of the paleomxi command
++ at pytest.mark.xfail(reason="Binary isn't generated until build time tests start")
+ def test_paleomix_command():
+     stdout, stderr = check_run(["paleomix"])
+ 
+@@ -68,6 +69,7 @@
+ 
+ 
+ # Simple test that all commands can be executed
++ at pytest.mark.xfail(reason="Binary isn't generated until build time tests start")
+ @pytest.mark.parametrize("command", main._COMMANDS)
+ def test_factory__commands(command):
+     cmd = factory.new(command)



View it on GitLab: https://salsa.debian.org/med-team/paleomix/-/commit/aa10a898365897852cdaab88009efcf21ab358d8

-- 
View it on GitLab: https://salsa.debian.org/med-team/paleomix/-/commit/aa10a898365897852cdaab88009efcf21ab358d8
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/20200901/f3b92a0e/attachment.html>


More information about the debian-med-commit mailing list