diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-07-19 13:09:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-14 07:11:32 +0200 |
commit | f3f0370f1054f4e49aa8f5ea70485d673e8e94b6 (patch) | |
tree | 11d44920353aea9bf4301eb267f8c831e622520e /spec/build/testsuites/libtests/tar01.yml | |
parent | i386/score: fix assembly mnemonic (diff) | |
download | rtems-f3f0370f1054f4e49aa8f5ea70485d673e8e94b6.tar.bz2 |
build: Alternative build system based on waf
Update #3818.
Diffstat (limited to 'spec/build/testsuites/libtests/tar01.yml')
-rw-r--r-- | spec/build/testsuites/libtests/tar01.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/spec/build/testsuites/libtests/tar01.yml b/spec/build/testsuites/libtests/tar01.yml new file mode 100644 index 0000000000..8c595c7be9 --- /dev/null +++ b/spec/build/testsuites/libtests/tar01.yml @@ -0,0 +1,35 @@ +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: [] +do-build: | + path = "testsuites/libtests/tar01/" + tar = path + "tar01.tar" + tar_gz = self.gzip(bld, tar) + tar_xz = self.xz(bld, tar) + tar_c, tar_h = self.bin2c(bld, tar) + tar_gz_c, tar_gz_h = self.bin2c(bld, tar_gz) + tar_xz_c, tar_xz_h = self.bin2c(bld, tar_xz) + objs = [] + objs.append(self.cc(bld, bic, tar_c)) + objs.append(self.cc(bld, bic, tar_gz_c)) + objs.append(self.cc(bld, bic, tar_xz_c)) + objs.append(self.cc(bld, bic, path + "init.c", deps=[tar_h, tar_gz_h, tar_xz_h], cppflags=bld.env.TEST_TAR01_CPPFLAGS)) + objs.append(self.cc(bld, bic, "testsuites/psxtests/psxfile01/test_cat.c", target=path + "test_cat.o")) + self.link_cc(bld, bic, objs, "testsuites/libtests/tar01.exe") +do-configure: null +enabled-by: +- not: TEST_TAR01_EXCLUDE +includes: +- testsuites/libtests/tar01 +ldflags: [] +links: [] +prepare-build: null +prepare-configure: null +stlib: [] +type: build +use-after: +- z +use-before: [] |