]> git.lizzy.rs Git - rust.git/commit
Fix rustpkg tests with --disable-inject-std-version
authorAlex Crichton <alex@alexcrichton.com>
Fri, 31 Jan 2014 23:56:37 +0000 (15:56 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 31 Jan 2014 23:56:37 +0000 (15:56 -0800)
commit723072ff6a66dab863e7c012c06aadf8a5c4ee91
tree91420b41be7896574c19d0b6c4b813742e287b61
parentbec01ad17c6a519c38063d99b8863bf1f801f226
Fix rustpkg tests with --disable-inject-std-version

Right now the bots are all injecting a libstd version, so all the rustpkg tests
are passing. All rustpkg compilations will fail unless the version number is
explicitly given because rustpkg attempts to exactly guess the target file name.
Switch back to using a pattern match in order to unbreak tests.

Closes #11852
src/librustpkg/path_util.rs