Skip to content
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

[CLI] ti test does not test anything in Python #773

Closed
yuanming-hu opened this issue Apr 13, 2020 · 1 comment
Closed

[CLI] ti test does not test anything in Python #773

yuanming-hu opened this issue Apr 13, 2020 · 1 comment
Assignees
Labels
bug We've confirmed that this is an BUG P0 This issue is urgent to be solved and has highest priority

Comments

@yuanming-hu
Copy link
Member

yuanming-hu commented Apr 13, 2020

Describe the issue

It seems that after #764, using ti test does not test anything by default.
This will essentially make CI useless in running tests and should be fixed immediately.

For example, (note 339 passed in 5.86s)

ti test        
[Taichi] mode=development
[Taichi] preparing sandbox at /tmp/taichi-dva1_20k
[Taichi] sandbox prepared
[Taichi] <dev mode>, supported archs: [cpu, cuda, opengl], commit d4904c20, python 3.6.9

 *******************************************
 **     Taichi Programming Language       **
 *******************************************


Running python tests...

=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.6.9, pytest-5.4.1, py-1.8.0, pluggy-0.13.0
rootdir: /home/yuanming/repos/taichi
plugins: arraydiff-0.3, forked-1.1.3, remotedata-0.3.2, xdist-1.31.0, doctestplus-0.4.0, openfiles-0.4.0
gw0 [1]
.                                                                                                                                                                                                           [100%]
================================================================================================ 1 passed in 0.45s ================================================================================================
Starting 4 testing thread(s)...
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.6.9, pytest-5.4.1, py-1.8.0, pluggy-0.13.0
rootdir: /home/yuanming/repos/taichi
plugins: arraydiff-0.3, forked-1.1.3, remotedata-0.3.2, xdist-1.31.0, doctestplus-0.4.0, openfiles-0.4.0
gw0 [339] / gw1 [339] / gw2 [339] / gw3 [339]
........................................................................................................................................................................................................... [ 59%]
........................................................................................................................................                                                                    [100%]
=============================================================================================== 339 passed in 5.86s ===============================================================================================
Running C++ tests...
===============================================================================
All tests passed (66 assertions in 6 test cases)

@yuanming-hu yuanming-hu added bug We've confirmed that this is an BUG P0 This issue is urgent to be solved and has highest priority labels Apr 13, 2020
@yuanming-hu
Copy link
Member Author

Fixed in #774.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug We've confirmed that this is an BUG P0 This issue is urgent to be solved and has highest priority
Projects
None yet
Development

No branches or pull requests

2 participants