You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently rustpkg is not testable. We need a test driver for it that sets up test packages and tries to perform various actions with them. This should include at minimum:
a git-sourced package (filesystem-local repo is ok)
We agreed to have #[test]s that shell out with program_output to call rustpkg, for now. Eventually we'll be rewriting compiletest to use workcache and can repurpose that.
#5683 partly solves this, but eventually we still want to have a test runner that doesn't spawn separate processes. In addition, tests for building a C library, custom build logic, multi-crate packages, multiple workspaces, RUST_PATH, testing, running, and tarball/curl packages still need to be added.
Activity
catamorphism commentedon May 29, 2013
We agreed to have
#[test]sthat shell out withprogram_outputto call rustpkg, for now. Eventually we'll be rewriting compiletest to use workcache and can repurpose that.catamorphism commentedon Jun 15, 2013
#5683 partly solves this, but eventually we still want to have a test runner that doesn't spawn separate processes. In addition, tests for building a C library, custom build logic, multi-crate packages, multiple workspaces,
RUST_PATH, testing, running, and tarball/curl packages still need to be added.auto merge of #7148 : catamorphism/rust/rustpkg_tests, r=graydon
catamorphism commentedon Jun 19, 2013
I'm going to split this up into separate issues
catamorphism commentedon Jun 19, 2013
C libraries: #6403
Custom build logic: #7239
Multi-crate packages: #7240
Multiple workspaces: #7241
RUST_PATH: #5682rust testandrust run: #7242tarball/curl packages: #7243
catamorphism commentedon Jun 19, 2013
Closing in favor of individual issues