[Git][NTPsec/ntpsec][master] Change to exclusively use waf_unit_test ...

Richard Laager gitlab at mg.gitlab.com
Fri Dec 20 22:13:56 UTC 2019



Richard Laager pushed to branch master at NTPsec / ntpsec


Commits:
35745163 by James Browning at 2019-12-20T21:58:21+00:00
Change to exclusively use waf_unit_test ...

as opposed to a mixture of pytest (which is neither
documented nor installed by default) and waf_unit_test.

- - - - -


2 changed files:

- tests/wscript
- wscript


Changes:

=====================================
tests/wscript
=====================================
@@ -139,7 +139,7 @@ def build(ctx):
 
     for path in pytests:
         ctx(
-            features="pytest",
-            pytest_source=path,
-            ut_str="${PYTHON} ${SRC}"
+            features="py test_scripts",
+            test_scripts_source=path,
+            test_scripts_template="${PYTHON} ${SRC}",
         )


=====================================
wscript
=====================================
@@ -93,7 +93,6 @@ def configure(ctx):
     ctx.run_build_cls = 'check'
     ctx.load('waf', tooldir='wafhelpers/')
     ctx.load('waf_unit_test')
-    ctx.load('pytest')
     ctx.load('gnu_dirs')
 
     with open("VERSION", "r") as f:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/357451631e7a6831adc1a4afd6ddb2fadad39c80

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/357451631e7a6831adc1a4afd6ddb2fadad39c80
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/20191220/99f033d0/attachment.htm>


More information about the vc mailing list