File: meson.build

package info (click to toggle)
lcms2 2.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,632 kB
  • sloc: ansic: 46,202; sh: 4,263; pascal: 1,960; makefile: 197; cpp: 84
file content (31 lines) | stat: -rw-r--r-- 647 bytes parent folder | download
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
testcms_srcs = files(
  'testcms2.c',
  'testplugin.c',
  'zoo_icc.c',
)

# copy all iccs to the build dir and run the tests there
iccs = [
  'bad.icc', 'crayons.icc', 'new.icc', 'test2.icc', 'test4.icc', 
  'bad_mpe.icc', 'ibm-t61.icc', 'test1.icc', 'test3.icc', 'test5.icc',
  'toosmall.icc'
]
fs=import('fs')
foreach icc : iccs
  # fs.copyfile(icc) # DOES NOT WORK ON FEDORA 40
  configure_file(input : icc,  output : icc, copy : true)
endforeach

testcms = executable(
  'testcms',
  testcms_srcs,
  dependencies: [liblcms2_dep, m_dep],
  c_args: cargs,
)

test(
  'testcms',
  testcms,
  workdir: meson.current_build_dir(),
  timeout: 600,
)