[Git][NTPsec/ntpsec][buildtest] Fixed pipeline path issue again

Ian Bruene gitlab at mg.gitlab.com
Wed Nov 29 18:23:33 UTC 2017


Ian Bruene pushed to branch buildtest at NTPsec / ntpsec


Commits:
2f122539 by Ian Bruene at 2017-11-29T12:23:09-06:00
Fixed pipeline path issue again

- - - - -


1 changed file:

- tests/wscript


Changes:

=====================================
tests/wscript
=====================================
--- a/tests/wscript
+++ b/tests/wscript
@@ -3,6 +3,7 @@ from waflib import Utils  # pylint: disable=import-error
 def build(ctx):
     srcnode = ctx.srcnode.abspath()
     testsrc = ctx.srcnode.make_node('tests')
+    pylib = ctx.srcnode.make_node('pylib')
     testpylib = testsrc.make_node('pylib')
     testpysrc = testpylib.ant_glob('*.py')
 
@@ -112,7 +113,9 @@ def build(ctx):
             "M PTHREAD CRYPTO RT SOCKET NSL",
     )
 
-    pypath = "%s/pylib/" % srcnode
+    testpylib.get_bld().mkdir()
+
+    pypath = pylib.get_bld()
 
     ctx(
         features="pytest",
@@ -139,8 +142,6 @@ def build(ctx):
 		ut_str="${PYTHON} ${SRC}"
     )
 
-    testpylib.get_bld().mkdir()
-
     ctx(
         features="subst",
         source=testpysrc,



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/2f122539c4445b999392f0a6136c731a89caac89

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/2f122539c4445b999392f0a6136c731a89caac89
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/0127fa07/attachment.html>


More information about the vc mailing list