Rename serde_tests to testing

This commit is contained in:
David Tolnay
2016-06-28 20:43:48 -07:00
parent 6ab508a93c
commit fb0e62951f
21 changed files with 6 additions and 6 deletions
+17
View File
@@ -0,0 +1,17 @@
extern crate serde_codegen;
use std::env;
use std::path::Path;
fn main() {
let out_dir = env::var_os("OUT_DIR").unwrap();
for &(src, dst) in &[
("tests/test.rs.in", "test.rs"),
("benches/bench.rs.in", "bench.rs"),
] {
let src = Path::new(src);
let dst = Path::new(&out_dir).join(dst);
serde_codegen::expand(&src, &dst).unwrap();
}
}