Skip to content

WIP: Lua tests#9256

Closed
danpetry wants to merge 1 commit intoRIOT-OS:masterfrom
danpetry:lua_tests
Closed

WIP: Lua tests#9256
danpetry wants to merge 1 commit intoRIOT-OS:masterfrom
danpetry:lua_tests

Conversation

@danpetry
Copy link
Contributor

@danpetry danpetry commented May 31, 2018

Contribution description

This adds tests for the Lua pkg.
This PR will include a cut down version of the Lua test suite, written in Lua, and a basic assert test to test the "hello world" output in examples/lua, as a framework for tests for further additions such as API bindings.

Issues/PRs references

Depends on #9153, because without it, a lot of the tests are likely to fail.
Depends on #9282 to properly integrate Lua source code.

@danpetry danpetry added State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Area: tests Area: tests and testing framework Area: pkg Area: External package ports labels May 31, 2018
@jcarrano
Copy link
Contributor

I think it's better if we don't include the test suite in RIOT itself, but rather we download them as a package.

@jia200x
Copy link
Member

jia200x commented Jun 5, 2018

@jcarrano @danpetry please inform me when this PR is not WIP anymore

@smlng smlng added the State: waiting for other PR State: The PR requires another PR to be merged first label Jun 7, 2018
@haukepetersen
Copy link
Contributor

I think it's better if we don't include the test suite in RIOT itself, but rather we download them as a package.

big +1 one. Please don't simply copy the lua test code into the RIOT repo (as we speak about 15k lines of code here). You might want to add the tests either as a package on their own, or simply include them (maybe optional) to the lua pkg.

- pexpect script
- basic application in tests directory
- lua test suite for v5.3.4
@jcarrano
Copy link
Contributor

jcarrano commented Jul 4, 2018

Closed as it's easier to start from scratch. Will open new PR.

@jcarrano jcarrano closed this Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: pkg Area: External package ports Area: tests Area: tests and testing framework State: waiting for other PR State: The PR requires another PR to be merged first State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants