diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-11-27 11:41:06 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-11-27 11:50:09 +0100 |
commit | 1fca16659754d1e7c0ac12a81bd24003dbc80c56 (patch) | |
tree | 789e045cd6ab7a3977d34e5a517025b563f0b02f /testsuites/ada/sptests/spname01 | |
parent | untar: Properly make parent path (diff) | |
download | rtems-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/spname01')
-rw-r--r-- | testsuites/ada/sptests/spname01/Makefile.am | 2 | ||||
-rw-r--r-- | testsuites/ada/sptests/spname01/init.c (renamed from testsuites/ada/sptests/spname01/config.h) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/ada/sptests/spname01/Makefile.am b/testsuites/ada/sptests/spname01/Makefile.am index b3cf5067b3..56d64a794e 100644 --- a/testsuites/ada/sptests/spname01/Makefile.am +++ b/testsuites/ada/sptests/spname01/Makefile.am @@ -9,7 +9,7 @@ ada_spname01_SOURCES = spname01.adb config.h sptest.adb sptest.ads ada_spname01$(EXEEXT): spname01.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ -init.$(OBJEXT): ../../support/init.c +init.$(OBJEXT): init.c $(COMPILE.c) $(AM_CPPFLAGS) -I$(srcdir) -c $< scndir = $(rtems_ada_testsdir) diff --git a/testsuites/ada/sptests/spname01/config.h b/testsuites/ada/sptests/spname01/init.c index 8316f41e0c..334b6ca2f6 100644 --- a/testsuites/ada/sptests/spname01/config.h +++ b/testsuites/ada/sptests/spname01/init.c @@ -28,6 +28,6 @@ #define ADA_TEST_NAME "ADA SPNAME 1" -#include <rtems/confdefs.h> +#include "../../support/initimpl.h" /* end of include file */ |