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

[wip] adjustments to tests/fsharpqa/run.fsharpqa.test.fsx #6593

Conversation

smoothdeveloper
Copy link
Contributor

@smoothdeveloper smoothdeveloper commented Apr 20, 2019

Run.pl doesn't work yet on my machine when running this way (will check directly from command line), maybe some of the directories or files moved in master since this script came, and it may need more adjustments.

Runall.pl line 900:  Fatal Error: No such file or directory
Could not open fail list 'failures.lst'.
C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\..\..\tests\fsharpqa\testenv\bin\runall.pl terminated abnormally.
Can't use an undefined value as a symbol reference at C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\..\..\tests\fsharpqa\testenv\bin\runall.pl line 1002.
> System.Exception: exit code: 2
   at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1647.Invoke(String message)
   at FSI_0019.runPerl(String[] arguments) in C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\run.fsharpqa.test.fsx:line 59
   at <StartupCode$FSI_0019>.$FSI_0019.main@() in C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\run.fsharpqa.test.fsx:line 62
Stopped due to error

hoping I can add a test to fsharpqa soon.

  • fix nuget path in script
  • make run.pl work on my machine
  • able to work with fsharpqa tests on my machine

…ne, maybe some of the directories or files moved and this script needs more adjustments

Runall.pl line 900:  Fatal Error: No such file or directory
Could not open fail list 'failures.lst'.
C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\..\..\tests\fsharpqa\testenv\bin\runall.pl terminated abnormally.
Can't use an undefined value as a symbol reference at C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\..\..\tests\fsharpqa\testenv\bin\runall.pl line 1002.
> System.Exception: exit code: 2
   at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1647.Invoke(String message)
   at FSI_0019.runPerl(String[] arguments) in C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\run.fsharpqa.test.fsx:line 59
   at <StartupCode$FSI_0019>.$FSI_0019.main@() in C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\run.fsharpqa.test.fsx:line 62
Stopped due to error
…out outdated things that should be tied to the source of truth for this data.
@smoothdeveloper
Copy link
Contributor Author

Confirming running

.\tests\fsharpqa\Source>%HOMEDRIVE%%HOMEPATH%.nuget\packages\strawberryperl64\5.22.2.1\Tools\perl\bin\perl.exe "C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa....\tests\fsharpqa\testenv\bin\runall.pl" "-resultsroot" "C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa....\tests\TestResults" "-ttags:Conformance06"

give same error:

Runall.pl line 900:  Fatal Error: No such file or directory
Could not open fail list 'failures.lst'.
C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\..\..\tests\fsharpqa\testenv\bin\runall.pl terminated abnormally.
Can't use an undefined value as a symbol reference at C:\dev\src\github.com\Microsoft\visualfsharp\tests\fsharpqa\..\..\tests\fsharpqa\testenv\bin\runall.pl line 1002.

so the issue I'm having are not related to using tests/fsharpqa/run.fsharpqa.test.fsx but Run.pl.

@saul
Copy link
Contributor

saul commented Apr 25, 2019

I made some fixes to this file in #6609.

The error Could not open fail list 'failures.lst' has a simple fix. Just create a blank file at tests/fsharpqa/TestResults/failures.lst. You will then be able to run the script.

@smoothdeveloper
Copy link
Contributor Author

@saul thanks, seeing your change to the script and also tried creating the failures.lst file, I think the script was passing wrong path to the output file, will look more.

I confirm I can run the tests locally now.

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

Successfully merging this pull request may close these issues.

2 participants