mirror of
https://github.com/labwc/labwc.git
synced 2026-02-23 01:40:18 -05:00
Avoid unit tests writing to/from files by using xmlParseMemory() instead of xmlReadFile().
15 lines
387 B
Meson
15 lines
387 B
Meson
rcxml_lib = static_library(
|
|
'rcxml',
|
|
sources: files('../src/config/rcxml.c', '../src/common/buf.c'),
|
|
dependencies: xml2,
|
|
include_directories: [labwc_inc],
|
|
link_with: library('libxml-2.0'),
|
|
)
|
|
|
|
t1000 = executable(
|
|
't1000-rcxml-simple-parse',
|
|
sources: ['t1000-rcxml-simple-parse.c', 'tap.c'],
|
|
include_directories: [labwc_inc],
|
|
link_with: rcxml_lib,
|
|
)
|
|
test('t1000', t1000)
|