You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As first mentioned #91 (comment) the test file tst/tstall/profilefile.tst does not work in the current Cygwin CI setup for GitHub Actions.
We're not sure why, and on @ChrisJefferson's computer it all worked fine. So for now, to benefit from the remainder of the Cygwin CI setup, we merged #91.
However, it might be good to occasionally revisit this.
Here's what the output looks like. I gave some more information in #91 (comment).
Architecture: x86_64-pc-cygwin-default64-kv8
testing:/cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling/tst/tstall/pr\
ofilefile.tst
########> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\/tst/tstall/profilefile.tst:12# Input is:
str := ProfileFile(quicktest, rec(showOutput :=false));;
# Expected output:# But found:
Error, Unable to open file /tmp/gaptempdirBj9vAt/raw.json
################> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\/tst/tstall/profilefile.tst:13# Input is:
EndsWith(str, ".html");
# Expected output:true# But found:
Error, Variable:'str' must have a value
################> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\/tst/tstall/profilefile.tst:15# Input is:
str := ProfileFile(runquicktest);;
# Expected output:# But found:
Error, Unable to open file /tmp/gaptempdirufig9d/raw.json
################> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\/tst/tstall/profilefile.tst:16# Input is:
EndsWith(str, ".html");
# Expected output:true# But found:
Error, Variable:'str' must have a value
################> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\/tst/tstall/profilefile.tst:20# Input is:
str := ProfilePackage("transgrp", rec(indir :="", showOutput :=false));;
# Expected output:# But found:
Error, Unable to open file /tmp/gaptempdirW63OIM/raw.json
################> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\/tst/tstall/profilefile.tst:21# Input is:
EndsWith(str, ".html");
# Expected output:true# But found:
Error, Variable:'str' must have a value
########15 ms (0 ms GC) and94.9KB allocated for/cygdrive/d/a/profiling/profili\
ng/gaproot/pkg/profiling/tst/tstall/profilefile.tst
-----------------------------------
total 15 ms (0 ms GC) and94.9KB allocated
6 failures in1 of 1 files
Test failed:/cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling/tst/tstal\
l/profilefile.tst
The text was updated successfully, but these errors were encountered:
I think the Exec(cmd); call is problematic. It works by invoking a shell, and has windows specific code. If we rewrote that code to use Process, I think it would actually become easier to read and debug, would be less fragile and allow us to do fancy things like check the error code of the subprocess and report suitable error messages... :-)
I am just going to put this here as a reminder.
As first mentioned #91 (comment) the test file
tst/tstall/profilefile.tst
does not work in the current Cygwin CI setup for GitHub Actions.We're not sure why, and on @ChrisJefferson's computer it all worked fine. So for now, to benefit from the remainder of the Cygwin CI setup, we merged #91.
However, it might be good to occasionally revisit this.
Here's what the output looks like. I gave some more information in #91 (comment).
The text was updated successfully, but these errors were encountered: