-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Added F Sharp Testing #1125
Added F Sharp Testing #1125
Conversation
Hmm... It worked on my machine. haha. I'll take a look. |
Long time no see! |
I am not able to replicate this error on any machines I have tried. @jrg94, would you be able to try running this on your local machine? |
Looks like it's still failing. I was having a similar issue with Groovy, and I'm not sure how to fix it. That said, I haven't tried setting up docker on my machine in awhile (had some trouble with that in the past). I can try to give it a go tonight tho! |
Doing some research on this error. Not sure what you tried, but here are some related links: |
Actually, I had a different issue with Groovy: def test_hello_world(hello_world):
actual = hello_world.run()
> assert actual.strip() == 'Hello, World!'
E AssertionError: assert 'Caught: java.../hello-world)' == 'Hello, World!'
E + Hello, World!
E - Caught: java.io.FileNotFoundException: /tmp/hsperfdata_groovy/hello-world (/tmp/hsperfdata_groovy/hello-world)
E - java.io.FileNotFoundException: /tmp/hsperfdata_groovy/hello-world (/tmp/hsperfdata_groovy/hello-world) |
Gonna copy the error here for reference:
|
FYI: Docker Desktop requires Windows Pro or Enterprise which I apparently don't have. I may virtualbox it with Ubuntu... |
Hmm... I just got it to run on my surface and it is failing on windows. Maybe that will give me some insight. |
@jrg94 I got this to work by executing the compiled file using mono. It is ready to merge. When using fsharpc to build in a linux docker container on a linux host, a binary is created that can just be executed. However, building in a linux docker container on a windows host, the binary cannot be executed. 🤷♂️ Running the binary with mono solves the problem. While debugging this, I also came across another unrelated issue and created an issue for it: #1126 |
Interesting! Glad you were able to isolate the issue. I'm curious how the whole Windows issue ties in with the Travis CI issue (since it's Ubuntu). At any rate, it looks like everything works now, so I'm not too worried about it. 💯 |
Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder! For simplicity, please make sure that your pull request includes one and only one contribution.
Complete the Applicable Sections Below
Find which section best describes your pull request and make sure you fill it out. To start, let us know which issue you've fixed.
Code Snippets
Added/Updated <Sample Program> in <Language>
formatDocumentation
Added/Updated <Sample Program> in <Language> Article
formatTesting
Added/Updated <Language>/<Project> Testing
formatNotes
Feel free to describe what you added or updated.