summaryrefslogtreecommitdiffstats
path: root/spec/build/testsuites/psxtests/psxftw01.yml
diff options
context:
space:
mode:
authorEshan dhawan <eshandhawan51@gmail.com>2021-02-04 03:04:16 +0530
committerJoel Sherrill <joel@rtems.org>2021-03-11 11:40:13 -0600
commita26a326e55922f3d52639d361e49c3ed0c3834c0 (patch)
treec829ed12c91f696675744e4746e356815e2bdaad /spec/build/testsuites/psxtests/psxftw01.yml
parentleon,tn-0018: work around GRLIB-TN-0018 errata (diff)
downloadrtems-a26a326e55922f3d52639d361e49c3ed0c3834c0.tar.bz2
Test suite for FTW.H methods
Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
Diffstat (limited to '')
-rw-r--r--spec/build/testsuites/psxtests/psxftw01.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/spec/build/testsuites/psxtests/psxftw01.yml b/spec/build/testsuites/psxtests/psxftw01.yml
new file mode 100644
index 0000000000..c8b2a4fb59
--- /dev/null
+++ b/spec/build/testsuites/psxtests/psxftw01.yml
@@ -0,0 +1,34 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: script
+cflags: []
+copyrights:
+- Copyright (C) 2020 Eshan Dhawan
+cppflags: []
+do-build: |
+ path = "testsuites/psxtests/psxftw01/"
+ tar = path + "psxftw01.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_psxftw01_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/psxtests/psxftw01.exe")
+do-configure: null
+enabled-by: true
+includes:
+- testsuites/psxtests/psxftw01
+ldflags: []
+links: []
+prepare-build: null
+prepare-configure: null
+stlib: []
+type: build
+use-after:
+- z
+use-before: []