summaryrefslogtreecommitdiffstats
path: root/testsuites/ada/sptests/sp19
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-27 11:41:06 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-27 11:50:09 +0100
commit1fca16659754d1e7c0ac12a81bd24003dbc80c56 (patch)
tree789e045cd6ab7a3977d34e5a517025b563f0b02f /testsuites/ada/sptests/sp19
parentuntar: Properly make parent path (diff)
downloadrtems-1fca16659754d1e7c0ac12a81bd24003dbc80c56.tar.bz2
testsuites/ada: Introduce init.c files
Provide an init.c for each Ada test instead of the #include <config.h> magic which works only due to hand crafted include paths. Update #3818.
Diffstat (limited to 'testsuites/ada/sptests/sp19')
-rw-r--r--testsuites/ada/sptests/sp19/Makefile.am2
-rw-r--r--testsuites/ada/sptests/sp19/init.c (renamed from testsuites/ada/sptests/sp19/config.h)2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/ada/sptests/sp19/Makefile.am b/testsuites/ada/sptests/sp19/Makefile.am
index 8a38c8cf8c..27604b136e 100644
--- a/testsuites/ada/sptests/sp19/Makefile.am
+++ b/testsuites/ada/sptests/sp19/Makefile.am
@@ -7,7 +7,7 @@ AM_ADAFLAGS += -I.
noinst_PROGRAMS = ada_sp19
ada_sp19_SOURCES = sp19.adb sptest.adb config.h sptest.ads
-ada_sp19_SOURCES += ../../support/init.c
+ada_sp19_SOURCES += init.c
CLEANFILES += sptest.adb
diff --git a/testsuites/ada/sptests/sp19/config.h b/testsuites/ada/sptests/sp19/init.c
index 1cdc8a05d2..2d0d5b39f2 100644
--- a/testsuites/ada/sptests/sp19/config.h
+++ b/testsuites/ada/sptests/sp19/init.c
@@ -25,6 +25,6 @@
#define ADA_TEST_NAME "ADA SP 19"
-#include <rtems/confdefs.h>
+#include "../../support/initimpl.h"
/* end of include file */