summaryrefslogtreecommitdiffstats
path: root/testsuite/ppp01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-11-12 13:16:25 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-11-12 13:16:25 +0100
commit06d83167c7ec593255e3c1db1e410ebd4e2ee257 (patch)
treed6a140f63179d974234152fa60ad8538f1620274 /testsuite/ppp01
parentUse optimization level -O2 (diff)
downloadrtems-libbsd-06d83167c7ec593255e3c1db1e410ebd4e2ee257.tar.bz2
testsuite/ppp01: Avoid build error on SMP
Diffstat (limited to 'testsuite/ppp01')
-rw-r--r--testsuite/ppp01/test_main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/ppp01/test_main.c b/testsuite/ppp01/test_main.c
index 7fe388b2..fd6d168a 100644
--- a/testsuite/ppp01/test_main.c
+++ b/testsuite/ppp01/test_main.c
@@ -59,6 +59,8 @@
#define TEST_NAME "LIBBSD PPP 1"
+#ifndef RTEMS_SMP
+
static void
set_pppd_options(void)
{
@@ -272,6 +274,17 @@ test_main(void)
RTEMS_BSD_DEFINE_NEXUS_DEVICE(ppp, 0, 0, NULL);
+#else /* RTEMS_SMP */
+
+static void
+test_main(void)
+{
+ printf("PPP is not support on SMP configurations");
+ exit(0);
+}
+
+#endif /* RTEMS_SMP */
+
#define CONFIGURE_MAXIMUM_DRIVERS 32
#define DEFAULT_NETWORK_SHELL