[PATCH 13/13] mptests: Avoid build system defined defines
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Nov 8 14:03:01 UTC 2019
Update #3818.
---
testsuites/mptests/Makefile.am | 104 ++++++++++++-------------
testsuites/mptests/mp01/init1.c | 2 +
testsuites/mptests/mp01/init2.c | 2 +
testsuites/mptests/mp01/{init.c => initimpl.h} | 0
testsuites/mptests/mp03/init1.c | 2 +
testsuites/mptests/mp03/init2.c | 2 +
testsuites/mptests/mp03/{init.c => initimpl.h} | 0
testsuites/mptests/mp04/init1.c | 2 +
testsuites/mptests/mp04/init2.c | 2 +
testsuites/mptests/mp04/{init.c => initimpl.h} | 0
testsuites/mptests/mp05/init1.c | 2 +
testsuites/mptests/mp05/init2.c | 2 +
testsuites/mptests/mp05/{init.c => initimpl.h} | 0
testsuites/mptests/mp06/init1.c | 2 +
testsuites/mptests/mp06/init2.c | 2 +
testsuites/mptests/mp06/{init.c => initimpl.h} | 0
testsuites/mptests/mp07/init1.c | 2 +
testsuites/mptests/mp07/init2.c | 2 +
testsuites/mptests/mp07/{init.c => initimpl.h} | 0
testsuites/mptests/mp08/init1.c | 2 +
testsuites/mptests/mp08/init2.c | 2 +
testsuites/mptests/mp08/{init.c => initimpl.h} | 0
testsuites/mptests/mp09/init1.c | 2 +
testsuites/mptests/mp09/init2.c | 2 +
testsuites/mptests/mp09/{init.c => initimpl.h} | 0
testsuites/mptests/mp10/init1.c | 2 +
testsuites/mptests/mp10/init2.c | 2 +
testsuites/mptests/mp10/{init.c => initimpl.h} | 0
testsuites/mptests/mp11/init1.c | 2 +
testsuites/mptests/mp11/init2.c | 2 +
testsuites/mptests/mp11/{init.c => initimpl.h} | 0
testsuites/mptests/mp12/init1.c | 2 +
testsuites/mptests/mp12/init2.c | 2 +
testsuites/mptests/mp12/{init.c => initimpl.h} | 0
testsuites/mptests/mp13/init1.c | 2 +
testsuites/mptests/mp13/init2.c | 2 +
testsuites/mptests/mp13/{init.c => initimpl.h} | 0
testsuites/mptests/mp14/init1.c | 2 +
testsuites/mptests/mp14/init2.c | 2 +
testsuites/mptests/mp14/{init.c => initimpl.h} | 0
40 files changed, 104 insertions(+), 52 deletions(-)
create mode 100644 testsuites/mptests/mp01/init1.c
create mode 100644 testsuites/mptests/mp01/init2.c
rename testsuites/mptests/mp01/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp03/init1.c
create mode 100644 testsuites/mptests/mp03/init2.c
rename testsuites/mptests/mp03/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp04/init1.c
create mode 100644 testsuites/mptests/mp04/init2.c
rename testsuites/mptests/mp04/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp05/init1.c
create mode 100644 testsuites/mptests/mp05/init2.c
rename testsuites/mptests/mp05/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp06/init1.c
create mode 100644 testsuites/mptests/mp06/init2.c
rename testsuites/mptests/mp06/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp07/init1.c
create mode 100644 testsuites/mptests/mp07/init2.c
rename testsuites/mptests/mp07/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp08/init1.c
create mode 100644 testsuites/mptests/mp08/init2.c
rename testsuites/mptests/mp08/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp09/init1.c
create mode 100644 testsuites/mptests/mp09/init2.c
rename testsuites/mptests/mp09/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp10/init1.c
create mode 100644 testsuites/mptests/mp10/init2.c
rename testsuites/mptests/mp10/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp11/init1.c
create mode 100644 testsuites/mptests/mp11/init2.c
rename testsuites/mptests/mp11/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp12/init1.c
create mode 100644 testsuites/mptests/mp12/init2.c
rename testsuites/mptests/mp12/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp13/init1.c
create mode 100644 testsuites/mptests/mp13/init2.c
rename testsuites/mptests/mp13/{init.c => initimpl.h} (100%)
create mode 100644 testsuites/mptests/mp14/init1.c
create mode 100644 testsuites/mptests/mp14/init2.c
rename testsuites/mptests/mp14/{init.c => initimpl.h} (100%)
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
similarity index 100%
rename from testsuites/mptests/mp01/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp03/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp04/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp05/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp06/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp07/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp08/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp09/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp10/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp11/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp12/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp13/init.c
rename to 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
similarity index 100%
rename from testsuites/mptests/mp14/init.c
rename to testsuites/mptests/mp14/initimpl.h
--
2.16.4
More information about the devel
mailing list