diff options
Diffstat (limited to '')
-rw-r--r-- | spec/build/testsuites/libtests/dl04.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/spec/build/testsuites/libtests/dl04.yml b/spec/build/testsuites/libtests/dl04.yml new file mode 100644 index 0000000000..8957f9eb40 --- /dev/null +++ b/spec/build/testsuites/libtests/dl04.yml @@ -0,0 +1,39 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: script +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +do-build: | + path = "testsuites/libtests/dl04/" + objs = [] + objs.append(self.cxx(bld, bic, path + "dl04-o4.cc")) + tar = path + "dl04.tar" + self.pax(bld, objs, [path], tar) + tar_c, tar_h = self.bin2c(bld, tar) + objs = [] + objs.append(self.cc(bld, bic, tar_c)) + objs.append(self.cc(bld, bic, path + "init.c", deps=[tar_h], cppflags=bld.env.TEST_DL04_CPPFLAGS)) + objs.append(self.cc(bld, bic, path + "dl-load.c")) + dl04_pre = path + "dl04.pre" + self.link_cc(bld, bic, objs, dl04_pre) + dl04_sym_o = path + "dl04-sym.o" + objs.append(dl04_sym_o) + self.rtems_syms(bld, dl04_pre, dl04_sym_o) + self.link_cc(bld, bic, objs, "testsuites/libtests/dl04.exe") +do-configure: null +enabled-by: +- and: + - not: TEST_DL04_EXCLUDE + - BUILD_LIBDL +includes: +- testsuites/libtests/dl04 +ldflags: [] +links: [] +prepare-build: null +prepare-configure: null +stlib: [] +type: build +use-after: [] +use-before: [] |