-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tests are not running #51
Comments
Hi @alexxbb thank you for opening the issue. Could you paste the whole cargo test output? There must be something not parsed correctly in some tests. |
Sure, here's the output of >> cargo test
Compiling hapi-rs v0.10.0 (C:\Github\hapi-rs)
warning: function `get_attribute_dictionary_data` is never used
--> src\attribute\bindings.rs:244:11
|
244 | _rust_fn [get_attribute_dictionary_data]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `hapi-rs` (lib) generated 1 warning
warning: `hapi-rs` (lib test) generated 1 warning (1 duplicate)
Finished test [unoptimized + debuginfo] target(s) in 2.99s
Running unittests src\lib.rs (target\debug\deps\hapi_rs-1774e91f9266e99d.exe)
running 4 tests
test attribute::array::tests::data_array_iter ... ok
test attribute::array::tests::data_array_mutate ... ok
test stringhandle::tests::get_string_api ... ok
test stringhandle::tests::string_array_api ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.91s
Running tests\asset.rs (target\debug\deps\asset-575f38f8ff792bfe.exe)
running 7 tests
test asset_load_from_memory ... ok
test asset_get_names ... ok
test asset_create_node ... ok
test asset_get_count ... ok
test asset_get_first_name ... ok
test asset_menu_parameters ... ok
test asset_default_parameters ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.95s
Running tests\geometry.rs (target\debug\deps\geometry-51034567e1dddcad.exe)
running 20 tests
test geometry_attribute_names ... ok
test geometry_commit_and_revert ... ok
test geometry_delete_attribute ... ok
test geometry_attribute_storage_type ... ok
test geometry_read_write_volume ... ok
test geometry_string_array_attribute ... ok
test geometry_create_string_attrib ... ok
test geometry_elements ... ok
test geometry_get_face_materials ... ok
test geometry_wrong_attribute ... ok
test geometry_create_and_set_array_attributes ... ok
test geometry_numeric_attributes ... ok
test geometry_save_and_load_to_memory ... ok
test geometry_add_and_delete_group ... ok
test geometry_multiple_input_curves ... ok
test geometry_create_input_curve ... ok
test geometry_save_and_load_to_file ... ok
test geometry_partitions ... ok
test geometry_basic_instancing ... ok
test geometry_read_array_attributes ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.43s
Running tests\material.rs (target\debug\deps\material-7d4dc455fdde4875.exe)
Doc-tests hapi-rs
running 5 tests
test src\lib.rs - (line 53) ... ignored
test src\lib.rs - (line 77) ... ignored
test src\asset.rs - asset::AssetLibrary::try_create_first (line 248) ... ok
test src\parameter\mod.rs - parameter (line 6) ... ok
test src\attribute\mod.rs - attribute (line 6) ... ok The output of cargo pretty-test
Generated by cargo-pretty-test
Status: OK; total 0 tests in 0.00s: 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Env: >> rustc --version
rustc 1.75.0 (82e1608df 2023-12-21)
Hope this helps. |
I have the same issue on rustc 1.81.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I run a regular
cargo test
command I see all my tests running for a few minutes, however, if I runcargo pretty-test
, all I get is this message immediately:Moreover, if I pass a test name as a filter it works:
The text was updated successfully, but these errors were encountered: