-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
Add minimal-case/issue-2451 #2458
Add minimal-case/issue-2451 #2458
Conversation
minimal-cases/issue-2451/Makefile
Outdated
# to ./stdlib --sequential in a loop with logs captured | ||
# in stdlib-ymd-hms.ns.txt. | ||
test-long-term: | ||
while true; do echo "Date: `date +%y%m%d-%H%M%S.%N`"; ./stdlib --sequential; echo "stdlib done"; done 2>&1 | tee stdlib-`date +%y%m%d-%H%M%S.%N`.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this target will work in isolation - you should add the bit that builds the stdlib
binary to this small Makefile.
At the moment I don't want to duplicate code in the main Makefile. The user
may want to compile in various ways that I'm not sure of, for instance it's
been recommended to compile ponyc in debug mode and I certainly don't want
to prematurely assume anything. So for now I'd like to keep it simple.
…On Fri, Dec 29, 2017, 4:47 PM Joe Eli McIlvain ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In minimal-cases/issue-2451/Makefile
<#2458 (comment)>:
> @@ -0,0 +1,10 @@
+# For a long term test build stdlib-debug or stdlib
+# using the standard Makefile and then run test-long-term
+# to ./stdlib --sequential in a loop with logs captured
+# in stdlib-ymd-hms.ns.txt.
+test-long-term:
+ while true; do echo "Date: `date +%y%m%d-%H%M%S.%N`"; ./stdlib --sequential; echo "stdlib done"; done 2>&1 | tee stdlib-`date +%y%m%d-%H%M%S.%N`.txt
I don't think this target will work in isolation - you should add the bit
that builds the stdlib binary to this small Makefile.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2458 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-hHLq0pRNClXQrivLIPoh0mnNU6j8nks5tFYgUgaJpZM4RPb5Q>
.
|
Can this be closed? |
I'd like this merged so it's available for use when testing. We can delete it after resolving #2451. And I hope to find a simpler test to reproduce the issues. |
I dont think this requires a makefile change. It could be done without any change to the Makefile. The command the makefile runs in that target can be added to the minimal case example directly. |
Yes, but we don't have a minimal example yet, only stdlib. I could
duplicate stdlib, but that doesn't seem prudent.
…On Thu, Jan 4, 2018, 6:23 AM Sean T Allen ***@***.***> wrote:
I dont think this requires a makefile change. It could be done without any
change to the Makefile. The command the makefile runs in that target can be
added to the minimal case example directly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2458 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA-hHF8W5dM-Fg8lc1hWFtRt9o1YUKsQks5tHN7YgaJpZM4RPb5Q>
.
|
Sorry, I thought that was in the standard Makefile. Nevermind. |
@jemc this look good to you? |
I'd like to see this example refactored to invoke the outer |
Adds test-long-term Makefile target for testing.
04a60ba
to
c527fe4
Compare
The default all target now targets make-stdlib and then test-long-term. |
I think we're getting close to a resolution so closing, will reopen if the need arises. |
Adds test-long-term Makefile target for testing.