[Git][NTPsec/ntpsec][master] 2 commits: Add --enable-warnings to tests-all

Hal Murray gitlab at mg.gitlab.com
Fri Jul 12 20:06:19 UTC 2019



Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
22133131 by Hal Murray at 2019-07-11T05:13:13Z
Add --enable-warnings to tests-all

- - - - -
622755a5 by Hal Murray at 2019-07-11T05:13:14Z
Fix for #524 (seccomp hangs on powerpc)

- - - - -


2 changed files:

- ntpd/ntp_sandbox.c
- tests/option-tester.sh


Changes:

=====================================
ntpd/ntp_sandbox.c
=====================================
@@ -421,7 +421,7 @@ int scmp_sc[] = {
 	/* gentoo 64-bit and 32-bit, Intel and Arm use mmap */
 	SCMP_SYS(mmap),
 #endif
-#if defined(__i386__) || defined(__arm__)
+#if defined(__i386__) || defined(__arm__) || defined(__powerpc__)
 	SCMP_SYS(_newselect),
 	SCMP_SYS(_llseek),
 	SCMP_SYS(mmap2),


=====================================
tests/option-tester.sh
=====================================
@@ -59,7 +59,7 @@ doit minimal "--disable-droproot --disable-mdns-registration --disable-manpage"
 # This also tests refclocks without DEBUG
 doit classic "--enable-classic-mode --refclock=all --disable-manpage"
 
-doit all     "--enable-debug --enable-debug-gdb --enable-debug-timing --refclock=all --enable-leap-smear --enable-mssntp --enable-early-droproot $LINUX"
+doit all     "--enable-warnings --enable-debug --enable-debug-gdb --enable-debug-timing --refclock=all --enable-leap-smear --enable-mssntp --enable-early-droproot $LINUX"
 
 if [ "`which asciidoc 2>/dev/null`" != "" -a \
      "`which xsltproc 2>/dev/null`" != "" ]



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/0d119a8faf80180ac144e3c1f21988cfd708ed91...622755a5a916926de3caaeab1574cf030ce31138

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/0d119a8faf80180ac144e3c1f21988cfd708ed91...622755a5a916926de3caaeab1574cf030ce31138
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/20190712/24f9672d/attachment.htm>


More information about the vc mailing list