[Git][NTPsec/ntpsec][master] Python build tests now run all tests, not 1 test 4 times...

Ian Bruene gitlab at mg.gitlab.com
Sat Dec 2 21:23:39 UTC 2017


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
9175f958 by Ian Bruene at 2017-12-02T15:09:00-06:00
Python build tests now run all tests, not 1 test 4 times...

- - - - -


1 changed file:

- tests/wscript


Changes:

=====================================
tests/wscript
=====================================
--- a/tests/wscript
+++ b/tests/wscript
@@ -125,13 +125,15 @@ def build(ctx):
             pass
         os.symlink(pypath.abspath(), linkpath.abspath())
 
-    for path in ["pylib/test_util.py",
-                 "pylib/test_agentx.py",
-                 "pylib/test_packet.py",
-                 "pylib/test_statfiles.py"]:
+    pytests = ["pylib/test_util.py",
+               "pylib/test_agentx.py",
+               "pylib/test_packet.py",
+               "pylib/test_statfiles.py"]
+
+    for path in pytests:
         ctx(
             features="pytest",
-            pytest_source="pylib/test_util.py",
+            pytest_source=path,
             ut_str="${PYTHON} ${SRC}"
         )
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/9175f9582f4a19d5cda3e13d201a68ab83dfcd73

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/9175f9582f4a19d5cda3e13d201a68ab83dfcd73
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171202/8b49d73e/attachment.html>


More information about the vc mailing list