tests.toml 408 B

123456789101112131415161718
  1. [tasks.rust_unit_test]
  2. run_task = { name = ["rust_lib_unit_test", "shared_lib_unit_test"] }
  3. [tasks.rust_lib_unit_test]
  4. description = "Run rust-lib unit tests"
  5. script = '''
  6. cd rust-lib
  7. RUST_LOG=info cargo test --no-default-features --features="sync"
  8. '''
  9. [tasks.shared_lib_unit_test]
  10. description = "Run shared-lib unit test"
  11. script = '''
  12. cd ../shared-lib
  13. RUST_LOG=info cargo test --no-default-features
  14. '''