Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-07-03 20:56:55 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-07-03 20:56:55 +0300
commitcfe08ab0630f277b0c7d8f749c1cbca3172bb808 (patch)
tree8e61ca30e2dc6c154506329a4bbe0b309030f001 /test
parent89f9dddd3e44a53317edb9a54883c85d47488b5b (diff)
More travis bashing, more appveyor debug printing
Diffstat (limited to 'test')
-rw-r--r--test/tests/process_handle.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tests/process_handle.cpp b/test/tests/process_handle.cpp
index 238eda5f..204d5822 100644
--- a/test/tests/process_handle.cpp
+++ b/test/tests/process_handle.cpp
@@ -41,10 +41,13 @@ static inline void TestProcessHandle(bool with_redirection) {
{
for(auto &i : *myenv)
{
+ visit(i, [](auto sv) { fwprintf(stderr, L"appveyor debug environment(): about to cout '%s'\n", (wchar_t *) sv.data()); });
std::cout << "\n " << i;
}
}
+ fprintf(stderr, "appveyor debug environment(): just after iteration\n");
std::cout << "\n" << std::endl;
+ fprintf(stderr, "appveyor debug environment(): just before launch process setup\n");
llfio::process_handle::flag flags = llfio::process_handle::flag::wait_on_close;
if(!with_redirection)
{
@@ -55,6 +58,7 @@ static inline void TestProcessHandle(bool with_redirection) {
char buffer[64];
sprintf(buffer, "--testchild,%u", (unsigned) n);
llfio::path_view_component arg(buffer);
+ fprintf(stderr, "appveyor debug environment(): just before launch process %u\n", (unsigned) n);
children.push_back(llfio::process_handle::launch_process(myexepath, {&arg, 1}, flags).value());
}
if(with_redirection)