• Vasily Galkin's avatar
    gspawn, tests: extend spawn_test, run it on win32 · 50cb4f22
    Vasily Galkin authored
    The spawn_test is enabled on win32 meson build, both msys and msvc.
    
    Some modifications to make it useful for auto-testing on win32:
    - use own argv0 to find helper win32-specific subprogram
    - helper subprogram and conditions changed, so testing is fully
    automated instead of manually checking contents of some MessageBoxes
    
    Redirection test checks "sort" output for locale-independent string
    instead of relying on "netstat" locale-dependent string.
    Also with "sort" it become usable on unix, so enabled there too.
    Currently this fails on win32 with coverage since
    some coverage-realted error output from gpawn-win32-helper
    is unexpectedly treated as executed subprocess output.
    
    
    Added test checking "sort" with error-only redirection. This also fails
    on win32 by now, due to a typo in gspawn-win32.c (checks for stdout
    redirection instead of stderr)
    50cb4f22
Name
Last commit
Last update
..
collate Loading commit data...
gobject Loading commit data...
refcount Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
assert-msg-test.c Loading commit data...
assert-msg-test.gdb Loading commit data...
asyncqueue-test.c Loading commit data...
atomic-test.c Loading commit data...
bit-test.c Loading commit data...
casefold.txt Loading commit data...
casemap.txt Loading commit data...
child-test.c Loading commit data...
completion-test.c Loading commit data...
cxx-test.cpp Loading commit data...
datetime.c Loading commit data...
dirname-test.c Loading commit data...
env-test.c Loading commit data...
file-test.c Loading commit data...
gen-casefold-txt.py Loading commit data...
gen-casemap-txt.py Loading commit data...
gio-test.c Loading commit data...
iochannel-test-infile Loading commit data...
iochannel-test.c Loading commit data...
libmoduletestplugin_a.c Loading commit data...
libmoduletestplugin_b.c Loading commit data...
mainloop-test.c Loading commit data...
mapping-test.c Loading commit data...
memchunks.c Loading commit data...
meson.build Loading commit data...
module-test.c Loading commit data...
onceinit.c Loading commit data...
qsort-test.c Loading commit data...
relation-test.c Loading commit data...
run-assert-msg-test.sh Loading commit data...
run-collate-tests.sh Loading commit data...
slice-color.c Loading commit data...
slice-concurrent.c Loading commit data...
slice-test.c Loading commit data...
slice-threadinit.c Loading commit data...
sources.c Loading commit data...
spawn-test-win32-gui.c Loading commit data...
spawn-test.c Loading commit data...
testgdate.c Loading commit data...
testgdateparser.c Loading commit data...
testglib.c Loading commit data...
thread-test.c Loading commit data...
threadpool-test.c Loading commit data...
timeloop-basic.c Loading commit data...
timeloop.c Loading commit data...
type-test.c Loading commit data...
unicode-caseconv.c Loading commit data...
unicode-collate.c Loading commit data...
unicode-encoding.c Loading commit data...
unicode-normalize.c Loading commit data...
utf8.txt Loading commit data...