[rtems-libbsd commit] Set syslog priority to 'debug' for all tests.
Chris Johns
chrisj at rtems.org
Wed Jul 6 07:08:25 UTC 2016
Module: rtems-libbsd
Branch: master
Commit: b8c7bf933c88ed0e9361c3e88f5f122607635083
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b8c7bf933c88ed0e9361c3e88f5f122607635083
Author: Chris Johns <chrisj at rtems.org>
Date: Wed Jul 6 17:08:07 2016 +1000
Set syslog priority to 'debug' for all tests.
---
testsuite/include/rtems/bsd/test/default-init.h | 5 +++++
testsuite/include/rtems/bsd/test/default-network-init.h | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/testsuite/include/rtems/bsd/test/default-init.h b/testsuite/include/rtems/bsd/test/default-init.h
index ab2ab3a..32ae1d1 100644
--- a/testsuite/include/rtems/bsd/test/default-init.h
+++ b/testsuite/include/rtems/bsd/test/default-init.h
@@ -39,6 +39,11 @@ rtems_task Init(
{
rtems_status_code sc;
+ /*
+ * Default the syslog priority to 'debug' to aid developers.
+ */
+ rtems_bsd_setlogpriority("debug");
+
puts( "*** " TEST_NAME " TEST ***" );
/*
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h
index d009f0f..cea70f2 100644
--- a/testsuite/include/rtems/bsd/test/default-network-init.h
+++ b/testsuite/include/rtems/bsd/test/default-network-init.h
@@ -238,6 +238,11 @@ Init(rtems_task_argument arg)
char *ifname;
#endif
+ /*
+ * Default the syslog priority to 'debug' to aid developers.
+ */
+ rtems_bsd_setlogpriority("debug");
+
(void)arg;
puts("*** " TEST_NAME " TEST ***");
More information about the vc
mailing list