summaryrefslogtreecommitdiffstats
path: root/spec/build/testsuites/psxtests/psxftw01.yml
blob: 39b4194bc4c5168a0d0ccdb4db91b1a5014f1712 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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: []
target: testsuites/psxtests/psxftw01.exe
type: build
use-after:
- z
use-before: []