[Git][NTPsec/ntpsec][master] Cleaned up build test script

Ian Bruene gitlab at mg.gitlab.com
Sat Dec 2 19:17:09 UTC 2017


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
1b91d447 by Ian Bruene at 2017-12-02T13:16:10-06:00
Cleaned up build test script

- - - - -


1 changed file:

- tests/wscript


Changes:

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



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/1b91d447430a55da9d9bb5fa80c18bf133cbc7cf

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/1b91d447430a55da9d9bb5fa80c18bf133cbc7cf
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/65c17656/attachment.html>


More information about the vc mailing list