Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Tests are failing #216

Open
MiyamotoAkira opened this issue Oct 8, 2019 · 3 comments
Open

Integration Tests are failing #216

MiyamotoAkira opened this issue Oct 8, 2019 · 3 comments

Comments

@MiyamotoAkira
Copy link
Contributor

Description

all the integration tests fail

Repro steps

  1. Download repo

  2. 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
@MiyamotoAkira
Copy link
Contributor Author

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"

@juergenhoetzel
Copy link
Collaborator

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.

@MiyamotoAkira
Copy link
Contributor Author

Ok, I will not keep looking into it. Probably we can either close this or close it when the LSP one is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants