cuviper / autocfg

Automatic cfg for Rust compiler features
Apache License 2.0
95 stars 24 forks source link

Use TESTS_TARGET_DIR envvar to override tests target dir #22

Closed silwol closed 4 years ago

silwol commented 4 years ago

Rationale: At Debian, the autopkgtests are run inside a non-writable directory, so the "target" subdirectory can't be used. Inside the autopkgtest environment, we have an env variable AUTOPKGTEST_TMP available which points to a temporary directory, that we can pass on to the tests as TESTS_TARGET_DIR. This makes the tests pass properly inside this environment.

cuviper commented 4 years ago

Looks good, thanks!

bors r+

bors[bot] commented 4 years ago

Build succeeded