Skip to content

Conversation

@dwalton76
Copy link
Collaborator

No description provided.

@dwalton76
Copy link
Collaborator Author

Resolves #339

Example:

```
$ git clone --recursive https://github.com/rhempel/ev3dev-lang-python.git
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can run git submodule init to do it post-clone.

cp -P --copy-contents -r /sys/class/${node}/* ./${node}/
```
$ node=lego-sensor/sensor0
$ mkdir -p ./${node}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be at the bottom, because it's rarely needed. The important command is the one for running the tests.

import fnmatch
import numbers
import array
import logging
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how much does this add to startup time.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No noticable difference as far as I can tell

tests/README.md Outdated

If you have already cloned the ev3dev-lang-python repo but do not have the
`fake-sys` directory use `git submodule init` to get it. If you have not
already closed the ev3dev-lang-python repo you can use the `--recursive` option
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closed -> cloned

@dwalton76 dwalton76 merged commit 06ae05f into ev3dev:develop Sep 20, 2017
@dwalton76 dwalton76 deleted the stretch-fixes branch September 20, 2017 23:18
@ddemidov ddemidov mentioned this pull request Oct 7, 2017
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