[Git][NTPsec/ntpsec][master] ntpconfigtest: pep8/pyflakes, more tests.

Gary E. Miller gitlab at mg.gitlab.com
Thu Mar 30 02:18:12 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
215bbab2 by Gary E. Miller at 2017-03-29T19:17:31-07:00
ntpconfigtest: pep8/pyflakes, more tests.

- - - - -


1 changed file:

- contrib/ntpconfigtest


Changes:

=====================================
contrib/ntpconfigtest
=====================================
--- a/contrib/ntpconfigtest
+++ b/contrib/ntpconfigtest
@@ -6,7 +6,6 @@
 from __future__ import print_function
 
 import gzip
-import string
 import sys
 
 config_file_name = '/proc/config.gz'
@@ -20,11 +19,17 @@ except:
 
 tests = (
     ('CONFIG_CPU_FREQ_GOV_PERFORMANCE', 'For best performance'),
-    ('CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y', 'For best performance'),
-    ('CONFIG_PPS', 'Needed for PPS support' ),
-    ('CONFIG_PPS_CLIENT_LDISC', 'For PPS support on serial lines' ),
-    ('CONFIG_PPS_CLIENT_GPIO', 'For PPS support on GPIO lines' ),
-    )
+    ('CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE', 'For best performance'),
+    ('CONFIG_SECCOMP', 'For extra security'),
+    ('CONFIG_THERMAL', 'For thermal monitoring'),
+    ('CONFIG_PPS', 'Needed for PPS support'),
+    ('CONFIG_PPS_CLIENT_LDISC', 'For PPS support on serial lines'),
+    ('CONFIG_PPS_CLIENT_GPIO', 'For PPS support on GPIO lines'),
+)
+
+# when this figures out how to test for platform, add these
+# for Pi:
+# CONFIG_THERMAL_BCM2835
 
 for test in tests:
     print("Checking: %s, %s: " % (test[0], test[1]), end='')
@@ -35,8 +40,3 @@ for test in tests:
         print("Missing")
 
 sys.exit(0)
-
-
-
-
-



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/215bbab228439f35e2d3936a4a7d86d86a6723fd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170330/45b1316b/attachment.html>


More information about the vc mailing list