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

Add minimal-case/issue-2451 #2458

Closed

Conversation

winksaville
Copy link
Contributor

Adds test-long-term Makefile target for testing.

# 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
Copy link
Member

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.

@winksaville
Copy link
Contributor Author

winksaville commented Dec 30, 2017 via email

@SeanTAllen
Copy link
Member

Can this be closed?

@winksaville
Copy link
Contributor Author

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.

@SeanTAllen
Copy link
Member

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.

@winksaville
Copy link
Contributor Author

winksaville commented Jan 4, 2018 via email

@SeanTAllen
Copy link
Member

Sorry, I thought that was in the standard Makefile. Nevermind.

@SeanTAllen
Copy link
Member

@jemc this look good to you?

@jemc
Copy link
Member

jemc commented Jan 4, 2018

I'd like to see this example refactored to invoke the outer Makefile to build the stdlib executable. That way, the example works with no other steps than just running it, and still doesn't have to duplicate logic from the root Makefile.

Adds test-long-term Makefile target for testing.
@winksaville winksaville force-pushed the add-miminal-case-issue-2451 branch from 04a60ba to c527fe4 Compare January 5, 2018 00:11
@winksaville
Copy link
Contributor Author

The default all target now targets make-stdlib and then test-long-term.

@winksaville
Copy link
Contributor Author

I think we're getting close to a resolution so closing, will reopen if the need arises.

@winksaville winksaville deleted the add-miminal-case-issue-2451 branch January 18, 2018 18:59
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.

3 participants