summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-06 19:28:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-12 09:36:21 +0100
commit0b520cb71804b355cf141ea5c5596aabed711824 (patch)
tree01cd49cf77deb68a14e676ebf66575e3689177e5
parent786ae3f7dfabb56add80bc0aeacbab5b98ca71aa (diff)
downloadrtems-0b520cb71804b355cf141ea5c5596aabed711824.tar.bz2
mptests: Avoid build system defined defines
Update #3818.
-rw-r--r--testsuites/mptests/Makefile.am104
-rw-r--r--testsuites/mptests/mp01/init1.c2
-rw-r--r--testsuites/mptests/mp01/init2.c2
-rw-r--r--testsuites/mptests/mp01/initimpl.h (renamed from testsuites/mptests/mp01/init.c)0
-rw-r--r--testsuites/mptests/mp03/init1.c2
-rw-r--r--testsuites/mptests/mp03/init2.c2
-rw-r--r--testsuites/mptests/mp03/initimpl.h (renamed from testsuites/mptests/mp03/init.c)0
-rw-r--r--testsuites/mptests/mp04/init1.c2
-rw-r--r--testsuites/mptests/mp04/init2.c2
-rw-r--r--testsuites/mptests/mp04/initimpl.h (renamed from testsuites/mptests/mp04/init.c)0
-rw-r--r--testsuites/mptests/mp05/init1.c2
-rw-r--r--testsuites/mptests/mp05/init2.c2
-rw-r--r--testsuites/mptests/mp05/initimpl.h (renamed from testsuites/mptests/mp05/init.c)0
-rw-r--r--testsuites/mptests/mp06/init1.c2
-rw-r--r--testsuites/mptests/mp06/init2.c2
-rw-r--r--testsuites/mptests/mp06/initimpl.h (renamed from testsuites/mptests/mp06/init.c)0
-rw-r--r--testsuites/mptests/mp07/init1.c2
-rw-r--r--testsuites/mptests/mp07/init2.c2
-rw-r--r--testsuites/mptests/mp07/initimpl.h (renamed from testsuites/mptests/mp07/init.c)0
-rw-r--r--testsuites/mptests/mp08/init1.c2
-rw-r--r--testsuites/mptests/mp08/init2.c2
-rw-r--r--testsuites/mptests/mp08/initimpl.h (renamed from testsuites/mptests/mp08/init.c)0
-rw-r--r--testsuites/mptests/mp09/init1.c2
-rw-r--r--testsuites/mptests/mp09/init2.c2
-rw-r--r--testsuites/mptests/mp09/initimpl.h (renamed from testsuites/mptests/mp09/init.c)0
-rw-r--r--testsuites/mptests/mp10/init1.c2
-rw-r--r--testsuites/mptests/mp10/init2.c2
-rw-r--r--testsuites/mptests/mp10/initimpl.h (renamed from testsuites/mptests/mp10/init.c)0
-rw-r--r--testsuites/mptests/mp11/init1.c2
-rw-r--r--testsuites/mptests/mp11/init2.c2
-rw-r--r--testsuites/mptests/mp11/initimpl.h (renamed from testsuites/mptests/mp11/init.c)0
-rw-r--r--testsuites/mptests/mp12/init1.c2
-rw-r--r--testsuites/mptests/mp12/init2.c2
-rw-r--r--testsuites/mptests/mp12/initimpl.h (renamed from testsuites/mptests/mp12/init.c)0
-rw-r--r--testsuites/mptests/mp13/init1.c2
-rw-r--r--testsuites/mptests/mp13/init2.c2
-rw-r--r--testsuites/mptests/mp13/initimpl.h (renamed from testsuites/mptests/mp13/init.c)0
-rw-r--r--testsuites/mptests/mp14/init1.c2
-rw-r--r--testsuites/mptests/mp14/init2.c2
-rw-r--r--testsuites/mptests/mp14/initimpl.h (renamed from testsuites/mptests/mp14/init.c)0
40 files changed, 104 insertions, 52 deletions
diff --git a/testsuites/mptests/Makefile.am b/testsuites/mptests/Makefile.am
index 6ddb2e80cc..d947cb6986 100644
--- a/testsuites/mptests/Makefile.am
+++ b/testsuites/mptests/Makefile.am
@@ -19,14 +19,14 @@ if TEST_mp01
mp_tests += mp01_node1
mp_screens += mp01/mp01-node1.scn
mp_docs += mp01/mp01-node1.doc
-mp01_node1_SOURCES = mp01/init.c mp01/task1.c mp01/system.h
-mp01_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp01) \
+mp01_node1_SOURCES = mp01/init1.c mp01/task1.c mp01/system.h
+mp01_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp01) \
$(support_includes)
mp_tests += mp01_node2
mp_screens += mp01/mp01-node2.scn
mp_docs += mp01/mp01-node2.doc
-mp01_node2_SOURCES = mp01/init.c mp01/task1.c mp01/system.h
-mp01_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp01) \
+mp01_node2_SOURCES = mp01/init2.c mp01/task1.c mp01/system.h
+mp01_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp01) \
$(support_includes)
endif
endif
@@ -36,14 +36,14 @@ if TEST_mp03
mp_tests += mp03_node1
mp_screens += mp03/mp03-node1.scn
mp_docs += mp03/mp03-node1.doc
-mp03_node1_SOURCES = mp03/init.c mp03/task1.c mp03/delay.c mp03/system.h
-mp03_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp03) \
+mp03_node1_SOURCES = mp03/init1.c mp03/task1.c mp03/delay.c mp03/system.h
+mp03_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp03) \
$(support_includes)
mp_tests += mp03_node2
mp_screens += mp03/mp03-node2.scn
mp_docs += mp03/mp03-node2.doc
-mp03_node2_SOURCES = mp03/init.c mp03/task1.c mp03/delay.c mp03/system.h
-mp03_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp03) \
+mp03_node2_SOURCES = mp03/init2.c mp03/task1.c mp03/delay.c mp03/system.h
+mp03_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp03) \
$(support_includes)
endif
endif
@@ -53,14 +53,14 @@ if TEST_mp04
mp_tests += mp04_node1
mp_screens += mp04/mp04-node1.scn
mp_docs += mp04/mp04-node1.doc
-mp04_node1_SOURCES = mp04/init.c mp04/task1.c mp04/system.h
-mp04_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp04) \
+mp04_node1_SOURCES = mp04/init1.c mp04/task1.c mp04/system.h
+mp04_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp04) \
$(support_includes)
mp_tests += mp04_node2
mp_screens += mp04/mp04-node2.scn
mp_docs += mp04/mp04-node2.doc
-mp04_node2_SOURCES = mp04/init.c mp04/task1.c mp04/system.h
-mp04_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp04) \
+mp04_node2_SOURCES = mp04/init2.c mp04/task1.c mp04/system.h
+mp04_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp04) \
$(support_includes)
endif
endif
@@ -70,14 +70,14 @@ if TEST_mp05
mp_tests += mp05_node1
mp_screens += mp05/mp05-node1.scn
mp_docs += mp05/mp05-node1.doc
-mp05_node1_SOURCES = mp05/init.c mp05/task1.c mp05/asr.c mp05/system.h
-mp05_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp05) \
+mp05_node1_SOURCES = mp05/init1.c mp05/task1.c mp05/asr.c mp05/system.h
+mp05_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp05) \
$(support_includes)
mp_tests += mp05_node2
mp_screens += mp05/mp05-node2.scn
mp_docs += mp05/mp05-node2.doc
-mp05_node2_SOURCES = mp05/init.c mp05/task1.c mp05/asr.c mp05/system.h
-mp05_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp05) \
+mp05_node2_SOURCES = mp05/init2.c mp05/task1.c mp05/asr.c mp05/system.h
+mp05_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp05) \
$(support_includes)
endif
endif
@@ -87,14 +87,14 @@ if TEST_mp06
mp_tests += mp06_node1
mp_screens += mp06/mp06-node1.scn
mp_docs += mp06/mp06-node1.doc
-mp06_node1_SOURCES = mp06/init.c mp06/task1.c mp06/system.h
-mp06_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp06) \
+mp06_node1_SOURCES = mp06/init1.c mp06/task1.c mp06/system.h
+mp06_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp06) \
$(support_includes)
mp_tests += mp06_node2
mp_screens += mp06/mp06-node2.scn
mp_docs += mp06/mp06-node2.doc
-mp06_node2_SOURCES = mp06/init.c mp06/task1.c mp06/system.h
-mp06_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp06) \
+mp06_node2_SOURCES = mp06/init2.c mp06/task1.c mp06/system.h
+mp06_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp06) \
$(support_includes)
endif
endif
@@ -104,14 +104,14 @@ if TEST_mp07
mp_tests += mp07_node1
mp_screens += mp07/mp07-node1.scn
mp_docs += mp07/mp07-node1.doc
-mp07_node1_SOURCES = mp07/init.c mp07/task1.c mp07/system.h
-mp07_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp07) \
+mp07_node1_SOURCES = mp07/init1.c mp07/task1.c mp07/system.h
+mp07_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp07) \
$(support_includes)
mp_tests += mp07_node2
mp_screens += mp07/mp07-node2.scn
mp_docs += mp07/mp07-node2.doc
-mp07_node2_SOURCES = mp07/init.c mp07/task1.c mp07/system.h
-mp07_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp07) \
+mp07_node2_SOURCES = mp07/init2.c mp07/task1.c mp07/system.h
+mp07_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp07) \
$(support_includes)
endif
endif
@@ -121,14 +121,14 @@ if TEST_mp08
mp_tests += mp08_node1
mp_screens += mp08/mp08-node1.scn
mp_docs += mp08/mp08-node1.doc
-mp08_node1_SOURCES = mp08/init.c mp08/task1.c mp08/system.h
-mp08_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp08) \
+mp08_node1_SOURCES = mp08/init1.c mp08/task1.c mp08/system.h
+mp08_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp08) \
$(support_includes)
mp_tests += mp08_node2
mp_screens += mp08/mp08-node2.scn
mp_docs += mp08/mp08-node2.doc
-mp08_node2_SOURCES = mp08/init.c mp08/task1.c mp08/system.h
-mp08_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp08) \
+mp08_node2_SOURCES = mp08/init2.c mp08/task1.c mp08/system.h
+mp08_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp08) \
$(support_includes)
endif
endif
@@ -138,16 +138,16 @@ if TEST_mp09
mp_tests += mp09_node1
mp_screens += mp09/mp09-node1.scn
mp_docs += mp09/mp09-node1.doc
-mp09_node1_SOURCES = mp09/init.c mp09/task1.c mp09/recvmsg.c \
+mp09_node1_SOURCES = mp09/init1.c mp09/task1.c mp09/recvmsg.c \
mp09/sendmsg.c mp09/system.h
-mp09_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp09) \
+mp09_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp09) \
$(support_includes)
mp_tests += mp09_node2
mp_screens += mp09/mp09-node2.scn
mp_docs += mp09/mp09-node2.doc
-mp09_node2_SOURCES = mp09/init.c mp09/task1.c mp09/recvmsg.c \
+mp09_node2_SOURCES = mp09/init2.c mp09/task1.c mp09/recvmsg.c \
mp09/sendmsg.c mp09/system.h
-mp09_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp09) \
+mp09_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp09) \
$(support_includes)
endif
endif
@@ -157,16 +157,16 @@ if TEST_mp10
mp_tests += mp10_node1
mp_screens += mp10/mp10-node1.scn
mp_docs += mp10/mp10-node1.doc
-mp10_node1_SOURCES = mp10/init.c mp10/task1.c mp10/task2.c mp10/task3.c \
+mp10_node1_SOURCES = mp10/init1.c mp10/task1.c mp10/task2.c mp10/task3.c \
mp10/system.h
-mp10_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp10) \
+mp10_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp10) \
$(support_includes)
mp_tests += mp10_node2
mp_screens += mp10/mp10-node2.scn
mp_docs += mp10/mp10-node2.doc
-mp10_node2_SOURCES = mp10/init.c mp10/task1.c mp10/task2.c mp10/task3.c \
+mp10_node2_SOURCES = mp10/init2.c mp10/task1.c mp10/task2.c mp10/task3.c \
mp10/system.h
-mp10_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp10) \
+mp10_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp10) \
$(support_includes)
endif
endif
@@ -176,14 +176,14 @@ if TEST_mp11
mp_tests += mp11_node1
mp_screens += mp11/mp11-node1.scn
mp_docs += mp11/mp11-node1.doc
-mp11_node1_SOURCES = mp11/init.c mp11/system.h
-mp11_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp11) \
+mp11_node1_SOURCES = mp11/init1.c mp11/system.h
+mp11_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp11) \
$(support_includes)
mp_tests += mp11_node2
mp_screens += mp11/mp11-node2.scn
mp_docs += mp11/mp11-node2.doc
-mp11_node2_SOURCES = mp11/init.c mp11/system.h
-mp11_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp11) \
+mp11_node2_SOURCES = mp11/init2.c mp11/system.h
+mp11_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp11) \
$(support_includes)
endif
endif
@@ -193,14 +193,14 @@ if TEST_mp12
mp_tests += mp12_node1
mp_screens += mp12/mp12-node1.scn
mp_docs += mp12/mp12-node1.doc
-mp12_node1_SOURCES = mp12/init.c mp12/system.h
-mp12_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp12) \
+mp12_node1_SOURCES = mp12/init1.c mp12/system.h
+mp12_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp12) \
$(support_includes)
mp_tests += mp12_node2
mp_screens += mp12/mp12-node2.scn
mp_docs += mp12/mp12-node2.doc
-mp12_node2_SOURCES = mp12/init.c mp12/system.h
-mp12_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp12) \
+mp12_node2_SOURCES = mp12/init2.c mp12/system.h
+mp12_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp12) \
$(support_includes)
endif
endif
@@ -210,14 +210,14 @@ if TEST_mp13
mp_tests += mp13_node1
mp_screens += mp13/mp13-node1.scn
mp_docs += mp13/mp13-node1.doc
-mp13_node1_SOURCES = mp13/init.c mp13/task1.c mp13/task2.c mp13/system.h
-mp13_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp13) \
+mp13_node1_SOURCES = mp13/init1.c mp13/task1.c mp13/task2.c mp13/system.h
+mp13_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp13) \
$(support_includes)
mp_tests += mp13_node2
mp_screens += mp13/mp13-node2.scn
mp_docs += mp13/mp13-node2.doc
-mp13_node2_SOURCES = mp13/init.c mp13/task1.c mp13/task2.c mp13/system.h
-mp13_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp13) \
+mp13_node2_SOURCES = mp13/init2.c mp13/task1.c mp13/task2.c mp13/system.h
+mp13_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp13) \
$(support_includes)
endif
endif
@@ -227,18 +227,18 @@ if TEST_mp14
mp_tests += mp14_node1
mp_screens += mp14/mp14-node1.scn
mp_docs += mp14/mp14-node1.doc
-mp14_node1_SOURCES = mp14/init.c mp14/exit.c mp14/delay.c \
+mp14_node1_SOURCES = mp14/init1.c mp14/exit.c mp14/delay.c \
mp14/evtask1.c mp14/evtmtask.c mp14/pttask1.c mp14/smtask1.c \
mp14/msgtask1.c mp14/system.h
-mp14_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp14) \
+mp14_node1_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp14) \
$(support_includes)
mp_tests += mp14_node2
mp_screens += mp14/mp14-node2.scn
mp_docs += mp14/mp14-node2.doc
-mp14_node2_SOURCES = mp14/init.c mp14/exit.c mp14/delay.c \
+mp14_node2_SOURCES = mp14/init2.c mp14/exit.c mp14/delay.c \
mp14/evtask1.c mp14/evtmtask.c mp14/pttask1.c mp14/smtask1.c \
mp14/msgtask1.c mp14/system.h
-mp14_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp14) \
+mp14_node2_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mp14) \
$(support_includes)
endif
endif
diff --git a/testsuites/mptests/mp01/init1.c b/testsuites/mptests/mp01/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp01/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp01/init2.c b/testsuites/mptests/mp01/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp01/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp01/init.c b/testsuites/mptests/mp01/initimpl.h
index d5017af643..d5017af643 100644
--- a/testsuites/mptests/mp01/init.c
+++ b/testsuites/mptests/mp01/initimpl.h
diff --git a/testsuites/mptests/mp03/init1.c b/testsuites/mptests/mp03/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp03/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp03/init2.c b/testsuites/mptests/mp03/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp03/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp03/init.c b/testsuites/mptests/mp03/initimpl.h
index 533d32175a..533d32175a 100644
--- a/testsuites/mptests/mp03/init.c
+++ b/testsuites/mptests/mp03/initimpl.h
diff --git a/testsuites/mptests/mp04/init1.c b/testsuites/mptests/mp04/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp04/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp04/init2.c b/testsuites/mptests/mp04/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp04/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp04/init.c b/testsuites/mptests/mp04/initimpl.h
index 3e3d8cd32f..3e3d8cd32f 100644
--- a/testsuites/mptests/mp04/init.c
+++ b/testsuites/mptests/mp04/initimpl.h
diff --git a/testsuites/mptests/mp05/init1.c b/testsuites/mptests/mp05/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp05/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp05/init2.c b/testsuites/mptests/mp05/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp05/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp05/init.c b/testsuites/mptests/mp05/initimpl.h
index a2d4002fde..a2d4002fde 100644
--- a/testsuites/mptests/mp05/init.c
+++ b/testsuites/mptests/mp05/initimpl.h
diff --git a/testsuites/mptests/mp06/init1.c b/testsuites/mptests/mp06/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp06/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp06/init2.c b/testsuites/mptests/mp06/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp06/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp06/init.c b/testsuites/mptests/mp06/initimpl.h
index 5598d328b0..5598d328b0 100644
--- a/testsuites/mptests/mp06/init.c
+++ b/testsuites/mptests/mp06/initimpl.h
diff --git a/testsuites/mptests/mp07/init1.c b/testsuites/mptests/mp07/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp07/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp07/init2.c b/testsuites/mptests/mp07/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp07/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp07/init.c b/testsuites/mptests/mp07/initimpl.h
index 1aa51a3d79..1aa51a3d79 100644
--- a/testsuites/mptests/mp07/init.c
+++ b/testsuites/mptests/mp07/initimpl.h
diff --git a/testsuites/mptests/mp08/init1.c b/testsuites/mptests/mp08/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp08/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp08/init2.c b/testsuites/mptests/mp08/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp08/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp08/init.c b/testsuites/mptests/mp08/initimpl.h
index 859b3114bf..859b3114bf 100644
--- a/testsuites/mptests/mp08/init.c
+++ b/testsuites/mptests/mp08/initimpl.h
diff --git a/testsuites/mptests/mp09/init1.c b/testsuites/mptests/mp09/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp09/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp09/init2.c b/testsuites/mptests/mp09/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp09/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp09/init.c b/testsuites/mptests/mp09/initimpl.h
index 97237c34f1..97237c34f1 100644
--- a/testsuites/mptests/mp09/init.c
+++ b/testsuites/mptests/mp09/initimpl.h
diff --git a/testsuites/mptests/mp10/init1.c b/testsuites/mptests/mp10/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp10/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp10/init2.c b/testsuites/mptests/mp10/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp10/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp10/init.c b/testsuites/mptests/mp10/initimpl.h
index b5c5a200f4..b5c5a200f4 100644
--- a/testsuites/mptests/mp10/init.c
+++ b/testsuites/mptests/mp10/initimpl.h
diff --git a/testsuites/mptests/mp11/init1.c b/testsuites/mptests/mp11/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp11/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp11/init2.c b/testsuites/mptests/mp11/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp11/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp11/init.c b/testsuites/mptests/mp11/initimpl.h
index e44b151597..e44b151597 100644
--- a/testsuites/mptests/mp11/init.c
+++ b/testsuites/mptests/mp11/initimpl.h
diff --git a/testsuites/mptests/mp12/init1.c b/testsuites/mptests/mp12/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp12/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp12/init2.c b/testsuites/mptests/mp12/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp12/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp12/init.c b/testsuites/mptests/mp12/initimpl.h
index 7486e664c6..7486e664c6 100644
--- a/testsuites/mptests/mp12/init.c
+++ b/testsuites/mptests/mp12/initimpl.h
diff --git a/testsuites/mptests/mp13/init1.c b/testsuites/mptests/mp13/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp13/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp13/init2.c b/testsuites/mptests/mp13/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp13/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp13/init.c b/testsuites/mptests/mp13/initimpl.h
index af5456919b..af5456919b 100644
--- a/testsuites/mptests/mp13/init.c
+++ b/testsuites/mptests/mp13/initimpl.h
diff --git a/testsuites/mptests/mp14/init1.c b/testsuites/mptests/mp14/init1.c
new file mode 100644
index 0000000000..cfe033db60
--- /dev/null
+++ b/testsuites/mptests/mp14/init1.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 1
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp14/init2.c b/testsuites/mptests/mp14/init2.c
new file mode 100644
index 0000000000..40c2c81592
--- /dev/null
+++ b/testsuites/mptests/mp14/init2.c
@@ -0,0 +1,2 @@
+#define CONFIGURE_MP_NODE_NUMBER 2
+#include "initimpl.h"
diff --git a/testsuites/mptests/mp14/init.c b/testsuites/mptests/mp14/initimpl.h
index 3591e271f8..3591e271f8 100644
--- a/testsuites/mptests/mp14/init.c
+++ b/testsuites/mptests/mp14/initimpl.h