emacs-fsharp-mode
emacs-fsharp-mode copied to clipboard
Integration Tests are failing
Description
all the integration tests fail
Repro steps
-
Download repo
-
make integration-test
Expected behavior
Tests pass
Actual behavior
Tests fail with:
Test check-completion condition:
(search-failed "X.func")
Part of the backtrace:
search-forward("X.func")
apply(search-forward "X.func")
(setq value-16 (apply fn-14 args-15))
Message provided:
No completion found
The following error/messages are being provided (could be a red herring):
Company backend ’company-bbdb’ could not be initialized:
Cannot open load file: No such file or directory, company-bbdb
Company backend ’company-eclim’ could not be initialized:
Symbol’s function definition is void: company-eclim
Company backend ’company-semantic’ could not be initialized:
Cannot open load file: No such file or directory, company-semantic
Company backend ’company-clang’ could not be initialized:
Symbol’s function definition is void: company-clang
Company backend ’company-xcode’ could not be initialized:
Cannot open load file: No such file or directory, company-xcode
Company backend ’company-cmake’ could not be initialized:
Symbol’s function definition is void: company-cmake
Company backend ’company-capf’ could not be initialized:
Symbol’s function definition is void: company-capf
Company backend ’company-files’ could not be initialized:
Cannot open load file: No such file or directory, company-files
Company backend ’company-dabbrev-code’ could not be initialized:
Cannot open load file: No such file or directory, company-dabbrev-code
Company backend ’company-gtags’ could not be initialized:
Cannot open load file: No such file or directory, company-gtags
Company backend ’company-etags’ could not be initialized:
Cannot open load file: No such file or directory, company-etags
Company backend ’company-keywords’ could not be initialized:
Cannot open load file: No such file or directory, company-keywords
Company backend ’company-oddmuse’ could not be initialized:
Cannot open load file: No such file or directory, company-oddmuse
Company backend ’company-dabbrev’ could not be initialized:
Cannot open load file: No such file or directory, company-dabbrev
Cannot find output argument (-o, --out) in project ’/home/akira/code/externals/emacs-fsharp-mode/test/Test1/Test1.fsproj’ with args {ProjectFileName =
"/home/akira/code/externals/emacs-fsharp-mode/test/Test1/Test1.fsproj";
ProjectId = None;
SourceFiles =
[|"/home/akira/code/externals/emacs-fsharp-mode/test/Test1/FileTwo.fs";
"/home/akira/code/externals/emacs-fsharp-mode/test/Test1/Program.fs"|];
OtherOptions =
[|"-r:/home/akira/code/externals/emacs-fsharp-mode/bin/FSharp.Core.dll";
"--simpleresolution"; "--noframework";
"--doc:/home/akira/code/externals/emacs-fsharp-mode/test/Test1/bin/Debug/Test1.XML";
"--fullpaths"; "--flaterrors"; "--target:exe"; "--define:DEBUG";
"--define:TRACE"; "--debug+"; "--optimize-"; "--tailcalls-"; "--debug:full";
"--platform:x86"|];
ReferencedProjects = [||];
IsIncompleteTypeCheckEnvironment = false;
UseScriptResolutionRules = false;
LoadTime = 31/12/9999 23:59:59;
UnresolvedReferences = None;
OriginalLoadReferences = [];
ExtraProjectInfo = None;
Stamp = None;}
Known workarounds
None so far, I'm trying to see what is going on
Related information
- On Fedora 30
- master branch
- emacs 26.3
- mono 5.18
- dotnet 3.0.100
So, I was able to investigate a bit further. I added
(print "PROJECT FILES")
(print fsharp-ac--project-files)
(print "ENDED")
at the end of find-file-and-wait-for-project-load
result is
"PROJECT FILES"
#s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ())
"ENDED"
Sorry for the late reply. I'm currently in the process of Move to LSP (WIP)
The old fsautocomplete
protocol will be deptrecated: Future of old stdio protocol
So the old tests will also be deprecated. I hope I can push the new (LSP-based) tests soon.
Ok, I will not keep looking into it. Probably we can either close this or close it when the LSP one is done.