[Git][NTPsec/ntpsec][master] tests: pylib tests now get run.
Gary E. Miller
gitlab at mg.gitlab.com
Tue Apr 4 00:40:39 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
db33765f by Gary E. Miller at 2017-04-03T17:36:43-07:00
tests: pylib tests now get run.
Their output still does not get into test.log...
- - - - -
3 changed files:
- tests/pylib/test_statfiles.py
- tests/pylib/test_util.py
- tests/wscript
Changes:
=====================================
tests/pylib/test_statfiles.py
=====================================
--- a/tests/pylib/test_statfiles.py
+++ b/tests/pylib/test_statfiles.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# coding: utf-8
+
import unittest
import ntp.statfiles
=====================================
tests/pylib/test_util.py
=====================================
--- a/tests/pylib/test_util.py
+++ b/tests/pylib/test_util.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# coding: utf-8
+
import unittest
import ntp.util
=====================================
tests/wscript
=====================================
--- a/tests/wscript
+++ b/tests/wscript
@@ -75,7 +75,7 @@ def build(ctx):
includes=["%s/tests/unity/" % srcnode,
"%s/ntpd/" % srcnode,
"%s/tests/libntp/" % srcnode,
- "%s/tests/common/" % srcnode
+ "%s/tests/common/" % srcnode,
],
install_path=None,
source=ntpd_source,
@@ -83,3 +83,6 @@ def build(ctx):
use="ntpd_lib libntpd_obj unity ntp isc "
"M PTHREAD CRYPTO RT SOCKET NSL",
)
+
+ ctx.exec_command("%s/tests/pylib/test_statfiles.py" % srcnode)
+ ctx.exec_command("%s/tests/pylib/test_util.py" % srcnode)
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/db33765fba5806855cbb2aff42e6f5caab193a4e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170404/71eeeb81/attachment.html>
More information about the vc
mailing list