-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update build scripts to always run tests for all MXNet engine types #71
Open
joseph-wakeling-sociomantic
wants to merge
6
commits into
sociomantic-tsunami:v0.x.x
Choose a base branch
from
joseph-wakeling-sociomantic:run-tests-for-all-engines
base: v0.x.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0aa2462
Update build scripts to always run tests for all MXNet engine types
joseph-wakeling-sociomantic 62e2506
Remove MXNET_ENGINE_TYPE settings from Travis CI config
joseph-wakeling-sociomantic 201fe10
squash! Update build scripts to always run tests for all MXNet engine…
joseph-wakeling-sociomantic 9370ffd
squash! Update build scripts to always run tests for all MXNet engine…
joseph-wakeling-sociomantic 38c3e08
squash! Update build scripts to always run tests for all MXNet engine…
joseph-wakeling-sociomantic c8d44c2
squash! Update build scripts to always run tests for all MXNet engine…
joseph-wakeling-sociomantic 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 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
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.
It occurs to me that an even better option would be to have a variable defining the supported engines (set in
Config.mak
if not already defined) and justforeach
over the entries in that variable. But I'm finding it tricky to work out how best to do that :-\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.
Specifically: how to implement an appropriate for loop. Although I guess a simple, manual way is to have a separate
run_test_with_all_engines
function which takes a single parameter (the test to run).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've tried with:
... but for some reason, this only ever picks up on the first entry in the
SUPPORTED_MXNET_ENGINES
variable.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.
BTW, the dependency of
$O/test-mxnet
is added automatically by Makd, you don't need to put it explicitly.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.
This is what I assumed, but it didn't work without it. :-\