-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor selectDeviceOrSkipTest system (#4150)
The existing system selected the device immediately which means code like this t.selectDeviceOrSkipTest('timestamp-query'); t.selectDeviceOrSkipTesT('float32-renderable'); // fail! would fail on the 2nd line because a device had already been requested on the first line. Refactored so that the various requirements are merged and only at the end is a device requested. Tested here: greggman@d4abf41
- Loading branch information
Showing
3 changed files
with
52 additions
and
18 deletions.
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
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
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