Renamed testparent to testrunner. (Whatever this became wasn't going to be testparent anyway; that was me thinking ahead to XCTest for macOS testing, which we're almost to the point of...)
This commit is contained in:
parent
de35499976
commit
150fa7eaa6
|
@ -78,7 +78,7 @@ libui_testlist_c = custom_target(
|
||||||
|
|
||||||
# TODO once we upgrade to 0.49.0, add pie: true
|
# TODO once we upgrade to 0.49.0, add pie: true
|
||||||
# TODO once we upgrade to 0.50.0, add protocol: 'exitcode'
|
# TODO once we upgrade to 0.50.0, add protocol: 'exitcode'
|
||||||
libui_testparent = executable('testparent', libui_test_sources + libui_test_sources_without_cases + [libui_testlist_c, libui_testlist_h],
|
libui_testrunner = executable('testrunner', libui_test_sources + libui_test_sources_without_cases + [libui_testlist_c, libui_testlist_h],
|
||||||
dependencies: libui_binary_deps + libui_test_deps,
|
dependencies: libui_binary_deps + libui_test_deps,
|
||||||
link_with: libui_libui,
|
link_with: libui_libui,
|
||||||
gui_app: false,
|
gui_app: false,
|
||||||
|
@ -89,7 +89,7 @@ if runresult.returncode() != 0
|
||||||
error('testlist.py failed; cannot compute list of test cases. Exit code @0@; stderr:\n@1@'.format(runresult.returncode(), runresult.stderr()))
|
error('testlist.py failed; cannot compute list of test cases. Exit code @0@; stderr:\n@1@'.format(runresult.returncode(), runresult.stderr()))
|
||||||
endif
|
endif
|
||||||
foreach casename : runresult.stdout().split()
|
foreach casename : runresult.stdout().split()
|
||||||
test(casename, libui_testparent,
|
test(casename, libui_testrunner,
|
||||||
args: [casename],
|
args: [casename],
|
||||||
is_parallel: false,
|
is_parallel: false,
|
||||||
should_fail: false)
|
should_fail: false)
|
||||||
|
|
Loading…
Reference in New Issue