[Git][NTPsec/ntpsec][buildtest] Possible fix for path issue

Ian Bruene gitlab at mg.gitlab.com
Wed Nov 29 23:00:16 UTC 2017


Ian Bruene pushed to branch buildtest at NTPsec / ntpsec


Commits:
92672dd4 by Ian Bruene at 2017-11-29T16:59:43-06:00
Possible fix for path issue

- - - - -


1 changed file:

- tests/wscript


Changes:

=====================================
tests/wscript
=====================================
--- a/tests/wscript
+++ b/tests/wscript
@@ -1,3 +1,4 @@
+import os
 from waflib import Utils  # pylint: disable=import-error
 
 def build(ctx):
@@ -116,6 +117,8 @@ def build(ctx):
     testpylib.get_bld().mkdir()
 
     pypath = pylib.get_bld()
+    linkpath = ctx.bldnode.make_node("tests/pylib/ntp")
+    os.symlink(pypath.abspath(), linkpath.abspath())
 
     ctx(
         features="pytest",
@@ -146,6 +149,5 @@ def build(ctx):
         features="subst",
         source=testpysrc,
         target=[x.get_bld() for x in testpysrc],
-        pytest_paths=pypath,
         chmod=Utils.O755,
     )



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/92672dd49c3da0ab4867f152c5252b2929f68509

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/92672dd49c3da0ab4867f152c5252b2929f68509
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/20171129/d9fc813b/attachment.html>


More information about the vc mailing list