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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get test suite to pass #303

Merged
merged 6 commits into from
Jun 23, 2022
Merged

Get test suite to pass #303

merged 6 commits into from
Jun 23, 2022

Conversation

denisalevi
Copy link
Member

This PR fixes some remaining minor issues that led to some test fails and marks tests failing for known issues as xfail, such that the test suite doesn't fail (since these tests fail expectedly).

I just ran the test suite via

import brian2cuda
brian2cuda.test(long_tests=True)

And for the first time, I got

Running Brian2CUDA version 0.post0.dev1157 from /cognition/home/denis/projects/brian2cuda/brian2cuda_repository/brian2cuda
Resetting to default preferences
Running tests in /cognition/home/denis/projects/brian2cuda/brian2cuda_repository/frozen_repos/brian2/brian2, /cognition/home/denis/projects/brian2cuda/brian2cuda_repository/brian2cuda/tests  (including long tests)
Running Brian version 2.4.2 from '/cognition/home/denis/projects/brian2cuda/brian2cuda_repository/frozen_repos/brian2/brian2'
Testing standalone

Testing standalone device "cuda_standalone"
Running standalone-compatible standard tests (single run statement)
============================= test session starts ==============================
...
= 236 passed, 1 skipped, 603 deselected, 2 xfailed, 5150 warnings in 3803.24s (1:03:23) =

Running standalone-compatible standard tests (multiple run statements)
============================= test session starts ==============================
...
=== 39 passed, 800 deselected, 3 xfailed, 330 warnings in 684.94s (0:11:24) ====

Running standalone-specific tests
============================= test session starts ==============================
...
== 89 passed, 752 deselected, 1 xfailed, 1311 warnings in 2087.32s (0:34:47) ===

OK: 3/3 test suite(s) did complete successfully.
OK: Test suit(s) for 1/1 standalone targets did complete successfully

馃コ馃コ馃コ

@denisalevi denisalevi merged commit 340fe8e into master Jun 23, 2022
@denisalevi denisalevi deleted the get-test-suite-to-pass branch June 23, 2022 22:28
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.

None yet

1 participant