-
Notifications
You must be signed in to change notification settings - Fork 0
Begin Running Examples in the Test Suite #31
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2feab9f
Adds three of the examples to the test suite, checking that return code
MattToast 99817a0
Style
MattToast dca6b89
Add example test mark
MattToast 092b7fb
Re-style according to dev-resources config
MattToast a67b146
Remove filecmp for more fine grain error from test suite
MattToast 61207f5
Debug CI
MattToast f08833f
Debug CI: checking stderr
MattToast c9e87fb
ldd example
MattToast eaede6c
manually add dragon libs to lib path
MattToast 968797d
remove debug step from workflow
MattToast 8ce5210
remove debug step from test
MattToast 832fde5
Merge remote-tracking branch 'origin/main' into examples-to-test-suite
MattToast a839bbf
Merge remote-tracking branch 'origin/main' into examples-to-test-suite
MattToast 9df5619
Working locally
MattToast 8981ac8
Add debug output back
MattToast f10ac09
Install dragon as non-editable
MattToast 9522b2c
remove debug output one last time
MattToast fc333e2
Better FIXME message
MattToast File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| dragonhpc[telemetry]>=0.14.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| ==> Running Producer... | ||
| =========================== | ||
| Hello World from Producer!! | ||
| --------------------------- | ||
| --------------------------- | ||
| Goodbye from Producer | ||
| =========================== | ||
| ==> Producer Joined | ||
| ==> Running Consumer... | ||
| =========================== | ||
| Hello World from Consumer!! | ||
| --------------------------- | ||
| Some Int: 123 | ||
| Some Float: 1.23 | ||
| Some Int Tensor: [ 1, 2, 3, 4, 5, 6, 7, 8, ] | ||
| \ -> Dims: [ 2, 4, ] | ||
| Some Float Tensor: [ 0.120000, 3.450000, 6.780000, 9.123000, ] | ||
| \ -> Dims: [ 4, ] | ||
| --------------------------- | ||
| Goodbye from Consumer!! | ||
| =========================== | ||
| ==> Consumer Joined | ||
| +++ head proc exited, code 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| ============= | ||
| Hello World!! | ||
| ============= | ||
| Some Int: 123 | ||
| Some Double: 1.23 | ||
|
|
||
| Some Int Tensor: [ 0, 1, 2, 3, ] | ||
| \- Dims: [ 2, 2, ] | ||
| Some Double Tensor: [ 0.100000, 2.300000, 4.500000, 6.700000, ] | ||
| \- Dims: [ 4, ] | ||
| ============= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| dragonhpc[telemetry]>=0.14.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| Driver: Making client | ||
| Driver: Starting app | ||
| App: Creating client | ||
| App: Client created | ||
| App: Waiting for scalar key `py-int` | ||
| Driver: Setting Int | ||
| App: Got key `py-int` has value 123 | ||
|
|
||
| App: Waiting for scalar key `py-double` | ||
| Driver: Setting Double | ||
| App: Got key `py-double` has value 9.87 | ||
|
|
||
| App: Waiting for scalar key `py-np-float` | ||
| Driver: Setting Numpy Int | ||
| App: Got key `py-np-float` has value 45.6 | ||
|
|
||
| App: Waiting for tensor key `py-int-tensor` | ||
| Driver: Setting Int Tensor | ||
| App: Got key `py-int-tensor` | ||
| |- Data: [ 0, 1, 2, 3, ] | ||
| \- Dims: [ 4, ] | ||
|
|
||
| App: Waiting for tensor key `py-float-tensor` | ||
| Driver: Setting Float Tensor | ||
| Driver: Looking for keys | ||
| Driver: Waiting for scalar key `cpp-double` | ||
| App: Got key `py-float-tensor` | ||
| |- Data: [ 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000, 6.000000, 7.000000, 8.000000, 9.000000, 10.000000, 11.000000, ] | ||
| \- Dims: [ 6, 2, ] | ||
|
|
||
| App: Setting Double | ||
| Driver: Got scalar: | ||
| |- Type: float64 | ||
| \- Value: 1.23 | ||
|
|
||
| Driver: Waiting for scalar key `cpp-int` | ||
| App: Setting Int | ||
| Driver: Got scalar: | ||
| |- Type: int32 | ||
| \- Value: 987 | ||
|
|
||
| Driver: Waiting for tensor key `cpp-double-tensor` | ||
| App: Setting Double Tensor | ||
| Driver: Got tensor: | ||
| |- Type: float64 | ||
| |- Dims: (4, 3) | ||
| \- Data: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.] | ||
|
|
||
| Driver: Waiting for tensor key `cpp-long-tensor` | ||
| App: Setting Long Tensor | ||
| Driver: Got tensor: | ||
| |- Type: int32 | ||
| |- Dims: (2, 2, 2) | ||
| \- Data: [1 2 3 4 5 6 7 8] | ||
|
|
||
| Driver: Setting a py object | ||
| Driver: Getting a py object | ||
| Driver: Got object `C(msg='spam-and-eggs')` | ||
| +++ head proc exited, code 0 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Did you want this file committed?
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 do. This is the file that the test suite will use check to make sure that the stdout of the example matches what we expect in the test suite.