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/tmtests/tm13 | |
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/tmtests/tm13')
-rw-r--r-- | testsuites/ada/tmtests/tm13/Makefile.am | 2 | ||||
-rw-r--r-- | testsuites/ada/tmtests/tm13/init.c (renamed from testsuites/ada/tmtests/tm13/config.h) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/ada/tmtests/tm13/Makefile.am b/testsuites/ada/tmtests/tm13/Makefile.am index 8a0a8d9fb4..1aed6def5c 100644 --- a/testsuites/ada/tmtests/tm13/Makefile.am +++ b/testsuites/ada/tmtests/tm13/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm13 ada_tm13_SOURCES = tm13.adb config.h tmtest.adb tmtest.ads -ada_tm13_SOURCES += ../../support/init.c +ada_tm13_SOURCES += init.c ada_tm13$(EXEEXT): tm13.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm13/config.h b/testsuites/ada/tmtests/tm13/init.c index b05713dd8d..ecf18b29ab 100644 --- a/testsuites/ada/tmtests/tm13/config.h +++ b/testsuites/ada/tmtests/tm13/init.c @@ -29,6 +29,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include <rtems/confdefs.h> +#include "../../support/initimpl.h" /* end of include file */ |